Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.616/1.616, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.05 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3501, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03605/0.3862, allocations: 33.35 MB / 1.101 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.4107, allocations: 14.82 MB / 1.115 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004922/0.4157, allocations: 151.2 kB / 1.115 GB, free: 9.938 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.4261, allocations: 3.66 MB / 1.119 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009599/0.4357, allocations: 2.878 MB / 1.122 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00693/0.4427, allocations: 2.334 MB / 1.124 GB, free: 1.039 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.4552, allocations: 8.816 MB / 1.133 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01495/0.4702, allocations: 9.64 MB / 1.142 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009045/0.4793, allocations: 3.934 MB / 1.146 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008288/0.4876, allocations: 4.034 MB / 1.15 GB, free: 6.441 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003294/0.491, allocations: 0.7148 MB / 1.151 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005895/0.4969, allocations: 1.72 MB / 1.152 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005171/0.5021, allocations: 2.826 MB / 1.155 GB, free: 1.172 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.009412/0.5116, allocations: 3.392 MB / 1.158 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.5274, allocations: 11.11 MB / 1.169 GB, free: 2.625 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.5274, allocations: 0 / 1.169 GB, free: 2.625 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5274, allocations: 0 / 1.169 GB, free: 2.625 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003906/0.5278, allocations: 0 / 1.169 GB, free: 2.625 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01624/0.5441, allocations: 5.983 MB / 1.175 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5441, allocations: 8.031 kB / 1.175 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008032/0.5522, allocations: 1.145 MB / 1.176 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007575/0.5598, allocations: 3.317 MB / 1.179 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.5602, allocations: 374.4 kB / 1.18 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.5619, allocations: 0.4922 MB / 1.18 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.5795, allocations: 8.001 MB / 1.188 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002098/0.5798, allocations: 31.77 kB / 1.188 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001338/0.5811, allocations: 212 kB / 1.188 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001165/0.5823, allocations: 433.6 kB / 1.189 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.5956, allocations: 6.085 MB / 1.195 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04805/0.6437, allocations: 35.16 MB / 1.229 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/0.6467, allocations: 2.022 MB / 1.231 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002681/0.6494, allocations: 1.873 MB / 1.233 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001429/0.6496, allocations: 22 kB / 1.233 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/0.6497, allocations: 60.48 kB / 1.233 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=171): time 3.707e-06/0.6497, allocations: 0 / 1.233 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=276): time 0.7013/1.351, allocations: 38.86 MB / 1.271 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/1.351, allocations: 79.89 kB / 1.271 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004961/1.356, allocations: 2.287 MB / 1.273 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005955/1.357, allocations: 70.33 kB / 1.273 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/1.358, allocations: 2.276 MB / 1.275 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/1.359, allocations: 0.9309 MB / 1.276 GB, free: 159.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001538/1.361, allocations: 0.506 MB / 1.277 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.712e-05/1.361, allocations: 310.3 kB / 1.277 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003203/1.364, allocations: 1.976 MB / 1.279 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003699/1.368, allocations: 2.6 MB / 1.282 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006888/1.375, allocations: 4.932 MB / 1.286 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.123e-05/1.375, allocations: 3.938 kB / 1.286 GB, free: 153.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01457/1.39, allocations: 7.756 MB / 1.294 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/1.39, allocations: 12.81 kB / 1.294 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-05/1.39, allocations: 19.62 kB / 1.294 GB, free: 149.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009007/1.399, allocations: 3.237 MB / 1.297 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/1.4, allocations: 406.8 kB / 1.297 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03708/1.438, allocations: 33.9 MB / 1.331 GB, free: 116.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/1.441, allocations: 167.8 kB / 1.331 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005362/1.442, allocations: 108 kB / 1.331 GB, free: 116 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00335/1.445, allocations: 1.796 MB / 1.333 GB, free: 114.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/1.446, allocations: 336 kB / 1.333 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01234/1.458, allocations: 7.353 MB / 1.34 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/1.458, allocations: 28 kB / 1.34 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.706e-05/1.459, allocations: 31.56 kB / 1.34 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/1.459, allocations: 15.94 kB / 1.34 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02536/1.484, allocations: 12.93 MB / 1.353 GB, free: 93.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-05/1.484, allocations: 9.75 kB / 1.353 GB, free: 93.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.485, allocations: 231.2 kB / 1.353 GB, free: 93.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008361/1.494, allocations: 2.883 MB / 1.356 GB, free: 90.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004745/1.494, allocations: 52 kB / 1.356 GB, free: 90.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03616/1.53, allocations: 32.68 MB / 1.388 GB, free: 56.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.53, allocations: 8 kB / 1.388 GB, free: 56.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01173/1.542, allocations: 6.89 MB / 1.395 GB, free: 49.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002186/1.544, allocations: 0.7783 MB / 1.395 GB, free: 48.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.546, allocations: 52 kB / 1.395 GB, free: 48.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.548, allocations: 171.8 kB / 1.396 GB, free: 48.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/1.549, allocations: 257.4 kB / 1.396 GB, free: 48.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002544/1.55, allocations: 77 kB / 1.396 GB, free: 48.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00273/1.552, allocations: 1.518 MB / 1.397 GB, free: 46.62 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.71e-07/1.552, allocations: 0 / 1.397 GB, free: 46.62 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006329/1.559, allocations: 1.379 MB / 1.399 GB, free: 45.24 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004891/1.559, allocations: 171 kB / 1.399 GB, free: 45.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01451/1.574, allocations: 8.373 MB / 1.407 GB, free: 36.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/1.574, allocations: 4.25 kB / 1.407 GB, free: 36.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007355/1.581, allocations: 4.413 MB / 1.411 GB, free: 32.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007112/1.588, allocations: 1.124 MB / 1.412 GB, free: 31.08 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02076/1.609, allocations: 10.2 MB / 1.422 GB, free: 20.81 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005624/1.615, allocations: 3.646 MB / 1.426 GB, free: 17.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002843/1.618, allocations: 0.5553 MB / 1.426 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006147/1.618, allocations: 159.4 kB / 1.427 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of SimCode: time 1.382e-06/1.618, allocations: 4 kB / 1.427 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.1355/1.754, allocations: 77.56 MB / 1.502 GB, free: 3.926 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)