Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000891/0.0008911, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006806/0.006806, allocations: 170.2 kB / 16.26 MB, free: 6.676 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 473.4 MB / 0.7469 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.0003711, allocations: 10.69 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4165, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0404/0.457, allocations: 36.75 MB / 1.11 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.4766, allocations: 10.85 MB / 1.121 GB, free: 7.789 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004302/0.481, allocations: 139.2 kB / 1.121 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.484, allocations: 0.783 MB / 1.122 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007326/0.4914, allocations: 2.084 MB / 1.124 GB, free: 4.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005709/0.4971, allocations: 1.783 MB / 1.125 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01708/0.5142, allocations: 13.18 MB / 1.138 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02501/0.5393, allocations: 14.46 MB / 1.152 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006649/0.5459, allocations: 2.84 MB / 1.155 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007641/0.5536, allocations: 3.877 MB / 1.159 GB, free: 472 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/0.5553, allocations: 344 kB / 1.159 GB, free: 128 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004413/0.5597, allocations: 1.326 MB / 1.16 GB, free: 14.8 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004068/0.5638, allocations: 2.533 MB / 1.163 GB, free: 12.26 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.006535/0.5704, allocations: 2.956 MB / 1.166 GB, free: 9.281 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.5869, allocations: 11.68 MB / 1.177 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.5869, allocations: 3.984 kB / 1.177 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.048e-06/0.5869, allocations: 8 kB / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003926/0.5873, allocations: 0 / 1.177 GB, free: 13.55 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01371/0.6011, allocations: 5.082 MB / 1.182 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6011, allocations: 8.031 kB / 1.182 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00636/0.6075, allocations: 1.075 MB / 1.183 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007172/0.6147, allocations: 3.419 MB / 1.187 GB, free: 3.836 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/0.615, allocations: 423.7 kB / 1.187 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001338/0.6164, allocations: 0.5432 MB / 1.188 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01936/0.6357, allocations: 9.374 MB / 1.197 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001263/0.6359, allocations: 19.81 kB / 1.197 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006023/0.6365, allocations: 252 kB / 1.197 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005962/0.6371, allocations: 422.9 kB / 1.197 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/0.6521, allocations: 7.123 MB / 1.204 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05044/0.7026, allocations: 41.38 MB / 1.245 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004568/0.7072, allocations: 3.108 MB / 1.248 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6256/1.333, allocations: 2.109 MB / 1.25 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/1.333, allocations: 22.78 kB / 1.25 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.318e-05/1.333, allocations: 61.06 kB / 1.25 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.549e-06/1.333, allocations: 0.8125 kB / 1.25 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02576/1.359, allocations: 10.62 MB / 1.26 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/1.359, allocations: 77.02 kB / 1.26 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/1.362, allocations: 1.998 MB / 1.262 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003141/1.363, allocations: 63.83 kB / 1.262 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/1.364, allocations: 2.402 MB / 1.265 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007028/1.365, allocations: 0.7317 MB / 1.265 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003095/1.365, allocations: 212.8 kB / 1.266 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.381e-05/1.365, allocations: 305.8 kB / 1.266 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/1.368, allocations: 1.37 MB / 1.267 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/1.37, allocations: 2.107 MB / 1.269 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005367/1.376, allocations: 3.762 MB / 1.273 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/1.376, allocations: 6.75 kB / 1.273 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009368/1.385, allocations: 5.07 MB / 1.278 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/1.385, allocations: 13.56 kB / 1.278 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.334e-05/1.385, allocations: 26.78 kB / 1.278 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003664/1.389, allocations: 1.583 MB / 1.28 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/1.391, allocations: 457.9 kB / 1.28 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01936/1.41, allocations: 17.11 MB / 1.297 GB, free: 139.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/1.413, allocations: 145.1 kB / 1.297 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002148/1.413, allocations: 115.5 kB / 1.297 GB, free: 139.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002964/1.416, allocations: 1.941 MB / 1.299 GB, free: 138.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004618/1.416, allocations: 287 kB / 1.299 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006467/1.423, allocations: 4.458 MB / 1.303 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/1.423, allocations: 23.81 kB / 1.303 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.412e-05/1.423, allocations: 19.72 kB / 1.303 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.28e-05/1.423, allocations: 11.95 kB / 1.304 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/1.436, allocations: 9.658 MB / 1.313 GB, free: 131 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.436, allocations: 4.281 kB / 1.313 GB, free: 131 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009262/1.437, allocations: 239.9 kB / 1.313 GB, free: 130.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/1.44, allocations: 1.419 MB / 1.315 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/1.44, allocations: 43.73 kB / 1.315 GB, free: 130.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01686/1.457, allocations: 17.11 MB / 1.331 GB, free: 114.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.457, allocations: 4.516 kB / 1.331 GB, free: 114.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0065/1.463, allocations: 4.537 MB / 1.336 GB, free: 109.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/1.465, allocations: 0.6382 MB / 1.336 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003975/1.465, allocations: 40 kB / 1.336 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001296/1.466, allocations: 118.9 kB / 1.337 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/1.467, allocations: 182.3 kB / 1.337 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.467, allocations: 60 kB / 1.337 GB, free: 108.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001512/1.468, allocations: 1.315 MB / 1.338 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.469, allocations: 0 / 1.338 GB, free: 107.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003319/1.472, allocations: 1.145 MB / 1.339 GB, free: 106 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002787/1.472, allocations: 176.2 kB / 1.339 GB, free: 105.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006059/1.478, allocations: 4.69 MB / 1.344 GB, free: 101.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.478, allocations: 4 kB / 1.344 GB, free: 101.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004047/1.482, allocations: 2.93 MB / 1.347 GB, free: 98.15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005227/1.488, allocations: 0.8317 MB / 1.348 GB, free: 97.34 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/1.503, allocations: 11.77 MB / 1.359 GB, free: 85.51 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003265/1.506, allocations: 3.698 MB / 1.363 GB, free: 81.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002073/1.508, allocations: 0.5558 MB / 1.363 GB, free: 81.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003868/1.508, allocations: 147.4 kB / 1.363 GB, free: 81.07 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.508, allocations: 0 / 1.363 GB, free: 81.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.07196/1.58, allocations: 50.16 MB / 1.412 GB, free: 31.59 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)