Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002134/0.002134, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.72 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.382, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008229/0.3903, allocations: 6.163 MB / 1.074 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00585/0.3962, allocations: 3.2 MB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.3966, allocations: 27.81 kB / 1.077 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.3988, allocations: 0.8753 MB / 1.078 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.3999, allocations: 434 kB / 1.078 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.4013, allocations: 463 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.4026, allocations: 1.463 MB / 1.08 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009263/0.4035, allocations: 0.6327 MB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004572/0.404, allocations: 390.3 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005451/0.4046, allocations: 486.1 kB / 1.081 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.525e-05/0.4047, allocations: 40 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009777/0.4056, allocations: 0.5809 MB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002667/0.4059, allocations: 283.2 kB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.4063, allocations: 385.9 kB / 1.083 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.4075, allocations: 1.18 MB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4075, allocations: 0 / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4075, allocations: 0 / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.4075, allocations: 0 / 1.084 GB, free: 10.32 MB / 0.8419 GB 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.001613/0.4091, allocations: 1.067 MB / 1.085 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.4092, allocations: 8.031 kB / 1.085 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.4106, allocations: 219.7 kB / 1.085 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/0.4115, allocations: 0.5414 MB / 1.085 GB, free: 8.398 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.4116, allocations: 41.69 kB / 1.086 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.4117, allocations: 64.36 kB / 1.086 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.413, allocations: 1.041 MB / 1.087 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.4131, allocations: 11.84 kB / 1.087 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.4132, allocations: 24 kB / 1.087 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.76e-05/0.4132, allocations: 73.27 kB / 1.087 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.4142, allocations: 0.6918 MB / 1.087 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005008/0.4193, allocations: 5.752 MB / 1.093 GB, free: 168 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.4202, allocations: 0.5973 MB / 1.094 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007578/0.4209, allocations: 436 kB / 1.094 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.421, allocations: 4 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.421, allocations: 38.56 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=41): time 3.277e-06/0.421, allocations: 3.938 kB / 1.094 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.00449/0.4255, allocations: 2.056 MB / 1.096 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.4256, allocations: 55.41 kB / 1.096 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/0.4262, allocations: 462.8 kB / 1.097 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.4262, allocations: 33.7 kB / 1.097 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.4265, allocations: 391 kB / 1.097 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.4267, allocations: 153.9 kB / 1.097 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.4269, allocations: 110.2 kB / 1.097 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.427, allocations: 362.8 kB / 1.098 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.4274, allocations: 249.2 kB / 1.098 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.4279, allocations: 461 kB / 1.098 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009856/0.4289, allocations: 0.7519 MB / 1.099 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.4289, allocations: 4 kB / 1.099 GB, free: 9.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002039/0.431, allocations: 1.062 MB / 1.1 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.431, allocations: 8 kB / 1.1 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.4311, allocations: 8 kB / 1.1 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4322, allocations: 331.7 kB / 1.1 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/0.4325, allocations: 99.81 kB / 1.1 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007369/0.4399, allocations: 6.954 MB / 1.107 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/0.4405, allocations: 23.98 kB / 1.107 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.394e-05/0.4406, allocations: 32 kB / 1.107 GB, free: 0.5859 MB / 0.8575 GB 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.0005132/0.4411, allocations: 245.5 kB / 1.107 GB, free: 344 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.4413, allocations: 63.23 kB / 1.108 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/0.4431, allocations: 0.916 MB / 1.108 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4431, allocations: 4 kB / 1.108 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.4431, allocations: 4 kB / 1.108 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4432, allocations: 7.984 kB / 1.108 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00291/0.4461, allocations: 1.71 MB / 1.11 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.4461, allocations: 4 kB / 1.11 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.4463, allocations: 35.97 kB / 1.11 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009538/0.4472, allocations: 327.2 kB / 1.11 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.4473, allocations: 16 kB / 1.11 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00699/0.4543, allocations: 6.931 MB / 1.117 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/0.4543, allocations: 7.969 kB / 1.117 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.4562, allocations: 1.007 MB / 1.118 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.4565, allocations: 176.3 kB / 1.118 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.4567, allocations: 19.98 kB / 1.118 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.457, allocations: 19.98 kB / 1.118 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.4571, allocations: 39.94 kB / 1.119 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.898e-05/0.4572, allocations: 15.94 kB / 1.119 GB, free: 4.324 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004031/0.4576, allocations: 310.9 kB / 1.119 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4576, allocations: 0 / 1.119 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009151/0.4585, allocations: 196 kB / 1.119 GB, free: 3.832 MB / 0.8731 GB 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.0002056/0.4587, allocations: 111.2 kB / 1.119 GB, free: 3.711 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.4607, allocations: 1.21 MB / 1.12 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4608, allocations: 0 / 1.12 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.462, allocations: 0.8699 MB / 1.121 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.463, allocations: 191.2 kB / 1.121 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.4655, allocations: 1.52 MB / 1.123 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/0.4662, allocations: 0.9882 MB / 1.124 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003408/0.4666, allocations: 105.3 kB / 1.124 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.4667, allocations: 35.44 kB / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of SimCode: time 8.21e-07/0.4667, allocations: 0 / 1.124 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of Templates: time 0.01839/0.4851, allocations: 9.64 MB / 1.133 GB, free: 5.086 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)