Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 104.9 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 191.3 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7541/0.7541, allocations: 122.8 MB / 413.6 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 67.89 kB / 0.4906 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.408, allocations: 77.91 MB / 0.5667 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.006765/0.4148, allocations: 6.08 MB / 0.5726 GB, free: 27.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.4192, allocations: 3.12 MB / 0.5757 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003917/0.4196, allocations: 27.06 kB / 0.5757 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.4217, allocations: 0.8824 MB / 0.5766 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.4228, allocations: 429 kB / 0.577 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.4241, allocations: 451 kB / 0.5774 GB, free: 24.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.4253, allocations: 1.095 MB / 0.5785 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.4263, allocations: 0.7087 MB / 0.5792 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.4268, allocations: 435.9 kB / 0.5796 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005946/0.4274, allocations: 499.2 kB / 0.5801 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-05/0.4275, allocations: 58.41 kB / 0.5801 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008041/0.4284, allocations: 489.8 kB / 0.5806 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.4286, allocations: 290.5 kB / 0.5809 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.429, allocations: 402.1 kB / 0.5812 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.4303, allocations: 1.199 MB / 0.5824 GB, free: 22.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4304, allocations: 1.781 kB / 0.5824 GB, free: 22.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4304, allocations: 0 / 0.5824 GB, free: 22.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.4304, allocations: 0 / 0.5824 GB, free: 22.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001468/0.4319, allocations: 1.052 MB / 0.5834 GB, free: 21.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.4319, allocations: 9.906 kB / 0.5834 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.4334, allocations: 218.3 kB / 0.5837 GB, free: 21.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.434, allocations: 0.536 MB / 0.5842 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.434, allocations: 45.88 kB / 0.5842 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-05/0.4341, allocations: 64.48 kB / 0.5843 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.4354, allocations: 1.036 MB / 0.5853 GB, free: 20.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/0.4355, allocations: 14.47 kB / 0.5853 GB, free: 20.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.4355, allocations: 25.66 kB / 0.5853 GB, free: 20.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.4357, allocations: 73.89 kB / 0.5854 GB, free: 20.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4367, allocations: 0.6936 MB / 0.5861 GB, free: 19.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.4404, allocations: 5.741 MB / 0.5917 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/0.4412, allocations: 0.6003 MB / 0.5923 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.4419, allocations: 422.8 kB / 0.5927 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.442, allocations: 11.84 kB / 0.5927 GB, free: 13.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.442, allocations: 40.98 kB / 0.5927 GB, free: 13.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.863e-06/0.442, allocations: 0 / 0.5927 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.004135/0.4461, allocations: 2.044 MB / 0.5947 GB, free: 12.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.4462, allocations: 55.69 kB / 0.5948 GB, free: 12.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.4466, allocations: 462.1 kB / 0.5952 GB, free: 12.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.4466, allocations: 34.95 kB / 0.5953 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.4468, allocations: 389.8 kB / 0.5956 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4469, allocations: 153 kB / 0.5958 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.4471, allocations: 109 kB / 0.5959 GB, free: 11.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.4471, allocations: 359.8 kB / 0.5962 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003201/0.4475, allocations: 247.5 kB / 0.5965 GB, free: 11.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/0.4479, allocations: 471.6 kB / 0.5969 GB, free: 10.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.4486, allocations: 0.749 MB / 0.5976 GB, free: 10.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4486, allocations: 6.281 kB / 0.5976 GB, free: 10.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001568/0.4502, allocations: 1.067 MB / 0.5987 GB, free: 9.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4502, allocations: 8 kB / 0.5987 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.4502, allocations: 8.844 kB / 0.5987 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009513/0.4512, allocations: 331.1 kB / 0.599 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.4515, allocations: 95.83 kB / 0.5991 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00516/0.4566, allocations: 7.528 MB / 0.6065 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.4571, allocations: 31.98 kB / 0.6065 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/0.4571, allocations: 28 kB / 0.6065 GB, free: 0.6484 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002941/0.4574, allocations: 241.8 kB / 0.6067 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/0.4575, allocations: 71.2 kB / 0.6068 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.4593, allocations: 0.9078 MB / 0.6077 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.4593, allocations: 7.938 kB / 0.6077 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4593, allocations: 4 kB / 0.6077 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4593, allocations: 3.984 kB / 0.6077 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.4621, allocations: 1.702 MB / 0.6094 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.4621, allocations: 3.984 kB / 0.6094 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.4622, allocations: 39.97 kB / 0.6094 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009567/0.4632, allocations: 331.1 kB / 0.6097 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.4632, allocations: 12 kB / 0.6097 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006896/0.4702, allocations: 7.502 MB / 0.6171 GB, free: 5.141 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.4702, allocations: 3.938 kB / 0.6171 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.4718, allocations: 1.007 MB / 0.6181 GB, free: 4.082 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.4721, allocations: 176.3 kB / 0.6182 GB, free: 3.891 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.205e-05/0.4722, allocations: 16 kB / 0.6182 GB, free: 3.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.4725, allocations: 23.92 kB / 0.6183 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.4726, allocations: 39.94 kB / 0.6183 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.4727, allocations: 8 kB / 0.6183 GB, free: 3.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.473, allocations: 306.9 kB / 0.6186 GB, free: 3.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.473, allocations: 4 kB / 0.6186 GB, free: 3.504 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007833/0.4738, allocations: 199.9 kB / 0.6188 GB, free: 3.309 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001445/0.4739, allocations: 111.2 kB / 0.6189 GB, free: 3.188 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.4758, allocations: 1.254 MB / 0.6201 GB, free: 1.883 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4758, allocations: 0 / 0.6201 GB, free: 1.883 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001161/0.477, allocations: 0.8589 MB / 0.621 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009895/0.478, allocations: 205.9 kB / 0.6212 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.4802, allocations: 1.524 MB / 0.6227 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006008/0.4808, allocations: 0.992 MB / 0.6236 GB, free: 14.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.4811, allocations: 101.2 kB / 0.6237 GB, free: 14.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.853e-05/0.4812, allocations: 35.44 kB / 0.6238 GB, free: 14.06 MB / 478.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4812, allocations: 0 / 0.6238 GB, free: 14.06 MB / 478.1 MB Notification: Performance of Templates: time 0.01693/0.4982, allocations: 10.01 MB / 0.6335 GB, free: 4.164 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)