Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.001027/0.001027, allocations: 101 kB / 16.27 MB, free: 5.93 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.0009951/0.0009952, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8467/0.8467, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 63.89 kB / 0.495 GB, free: 3.535 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4507, allocations: 78.7 MB / 0.5718 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008385/0.4591, allocations: 6.138 MB / 0.5778 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.4647, allocations: 3.172 MB / 0.5809 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.4656, allocations: 28.97 kB / 0.5809 GB, free: 24.79 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.468, allocations: 0.9288 MB / 0.5819 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00138/0.4694, allocations: 474.2 kB / 0.5823 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.471, allocations: 0.501 MB / 0.5828 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.4724, allocations: 1.094 MB / 0.5839 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.4734, allocations: 0.6424 MB / 0.5845 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007067/0.4742, allocations: 440.1 kB / 0.5849 GB, free: 22.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/0.4748, allocations: 470.7 kB / 0.5854 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.4749, allocations: 58.28 kB / 0.5854 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.4762, allocations: 495.3 kB / 0.5859 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.4765, allocations: 282.7 kB / 0.5862 GB, free: 21.45 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.4769, allocations: 406.8 kB / 0.5865 GB, free: 21.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.4785, allocations: 1.161 MB / 0.5877 GB, free: 20.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4785, allocations: 0 / 0.5877 GB, free: 20.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4785, allocations: 2.094 kB / 0.5877 GB, free: 20.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.4785, allocations: 1.406 kB / 0.5877 GB, free: 20.39 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.001599/0.4801, allocations: 1.068 MB / 0.5887 GB, free: 19.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4802, allocations: 8.469 kB / 0.5887 GB, free: 19.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.4817, allocations: 221.9 kB / 0.5889 GB, free: 19.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.4825, allocations: 0.5428 MB / 0.5895 GB, free: 18.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.4825, allocations: 45.47 kB / 0.5895 GB, free: 18.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.4827, allocations: 68.42 kB / 0.5896 GB, free: 18.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.4841, allocations: 1.033 MB / 0.5906 GB, free: 18.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.4842, allocations: 10.86 kB / 0.5906 GB, free: 18.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/0.4843, allocations: 29.36 kB / 0.5906 GB, free: 18.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-05/0.4844, allocations: 69.67 kB / 0.5907 GB, free: 18.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000994/0.4854, allocations: 0.6936 MB / 0.5914 GB, free: 17.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00397/0.4893, allocations: 5.752 MB / 0.597 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006533/0.49, allocations: 0.5969 MB / 0.5976 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.4906, allocations: 416.6 kB / 0.598 GB, free: 11.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.4907, allocations: 4 kB / 0.598 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.4907, allocations: 46.5 kB / 0.598 GB, free: 11.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=41): time 1.833e-06/0.4907, allocations: 0 / 0.598 GB, free: 11.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.003613/0.4943, allocations: 2.061 MB / 0.6 GB, free: 9.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.4944, allocations: 55.41 kB / 0.6001 GB, free: 8.945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.4948, allocations: 462.8 kB / 0.6005 GB, free: 8.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.4948, allocations: 29.7 kB / 0.6006 GB, free: 8.453 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.495, allocations: 391 kB / 0.6009 GB, free: 8.062 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.005e-05/0.4951, allocations: 157.8 kB / 0.6011 GB, free: 7.906 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.4953, allocations: 110.2 kB / 0.6012 GB, free: 7.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.4953, allocations: 366.8 kB / 0.6015 GB, free: 7.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.4956, allocations: 241.2 kB / 0.6018 GB, free: 7.188 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003365/0.496, allocations: 461 kB / 0.6022 GB, free: 6.645 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.4966, allocations: 0.7558 MB / 0.6029 GB, free: 5.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4966, allocations: 4 kB / 0.6029 GB, free: 5.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001434/0.4981, allocations: 1.062 MB / 0.604 GB, free: 4.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4981, allocations: 14.12 kB / 0.604 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4981, allocations: 8 kB / 0.604 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008732/0.499, allocations: 331.7 kB / 0.6043 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.4993, allocations: 99.81 kB / 0.6044 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006226/0.5055, allocations: 7.524 MB / 0.6118 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004847/0.506, allocations: 36.02 kB / 0.6118 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.5061, allocations: 24 kB / 0.6118 GB, free: 12.1 MB / 462.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.0004498/0.5065, allocations: 245.6 kB / 0.612 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/0.5066, allocations: 59.28 kB / 0.6121 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.5083, allocations: 0.916 MB / 0.613 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.5083, allocations: 12.22 kB / 0.613 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.5083, allocations: 4 kB / 0.613 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5083, allocations: 0 / 0.613 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002562/0.5109, allocations: 1.705 MB / 0.6147 GB, free: 9.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.5109, allocations: 4 kB / 0.6147 GB, free: 9.047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.5111, allocations: 43.91 kB / 0.6147 GB, free: 9.004 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009306/0.512, allocations: 331.2 kB / 0.615 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.5121, allocations: 4 kB / 0.615 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00715/0.5192, allocations: 7.508 MB / 0.6224 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.673e-06/0.5193, allocations: 8.031 kB / 0.6224 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.521, allocations: 1.007 MB / 0.6234 GB, free: 15.53 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.5213, allocations: 176.3 kB / 0.6235 GB, free: 15.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.5214, allocations: 15.98 kB / 0.6236 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.5217, allocations: 19.98 kB / 0.6236 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5218, allocations: 43.88 kB / 0.6236 GB, free: 15.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.5219, allocations: 12.28 kB / 0.6236 GB, free: 15.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003921/0.5223, allocations: 310.9 kB / 0.6239 GB, free: 14.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.5223, allocations: 0 / 0.6239 GB, free: 14.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009226/0.5232, allocations: 203.8 kB / 0.6241 GB, free: 14.75 MB / 478.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.0001906/0.5234, allocations: 111.2 kB / 0.6242 GB, free: 14.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.5254, allocations: 1.261 MB / 0.6255 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5254, allocations: 0 / 0.6255 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.5266, allocations: 0.8621 MB / 0.6263 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.5276, allocations: 198.8 kB / 0.6265 GB, free: 12.22 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.5298, allocations: 1.249 MB / 0.6277 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.5305, allocations: 0.9921 MB / 0.6287 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003076/0.5308, allocations: 97.3 kB / 0.6288 GB, free: 9.809 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.5309, allocations: 39.44 kB / 0.6288 GB, free: 9.77 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5309, allocations: 0 / 0.6288 GB, free: 9.77 MB / 478.1 MB Notification: Performance of Templates: time 0.01761/0.5485, allocations: 9.954 MB / 0.6385 GB, free: 15.93 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)