Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.647/1.647, allocations: 289.7 MB / 302.2 MB, free: 2.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001149, allocations: 184.7 kB / 371.6 MB, free: 3.387 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009562/0.0009566, allocations: 91.59 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.566e-05, allocations: 8 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2833, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8411/1.124, allocations: 208 MB / 1.183 GB, free: 7.723 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.125, allocations: 97.48 kB / 1.183 GB, free: 7.672 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2113/1.336, allocations: 84.32 MB / 1.265 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.793e-06/1.336, allocations: 0 / 1.265 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001094/1.336, allocations: 43.92 kB / 1.265 GB, free: 14.07 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003262/1.34, allocations: 1.578 MB / 1.267 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/1.34, allocations: 11.97 kB / 1.267 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/1.351, allocations: 1.889 MB / 1.269 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/1.354, allocations: 1.216 MB / 1.27 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/1.354, allocations: 86.36 kB / 1.27 GB, free: 9.184 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/1.354, allocations: 119.9 kB / 1.27 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/1.358, allocations: 2.238 MB / 1.272 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/1.358, allocations: 7.938 kB / 1.272 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/1.358, allocations: 55.98 kB / 1.272 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.358, allocations: 82.28 kB / 1.272 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002944/1.361, allocations: 1.871 MB / 1.274 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/1.377, allocations: 10.72 MB / 1.285 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/1.38, allocations: 1.7 MB / 1.286 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/1.381, allocations: 0.9001 MB / 1.287 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 6.365e-05/1.381, allocations: 12.78 kB / 1.287 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.381, allocations: 47.28 kB / 1.287 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 2.926e-06/1.381, allocations: 0 / 1.287 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.0337/1.415, allocations: 9.963 MB / 1.297 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/1.415, allocations: 222.9 kB / 1.297 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/1.417, allocations: 0.9561 MB / 1.298 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002129/1.417, allocations: 49.7 kB / 1.298 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005573/1.418, allocations: 0.7118 MB / 1.299 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004878/1.418, allocations: 445.5 kB / 1.299 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.419, allocations: 28 kB / 1.299 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.419, allocations: 357.9 kB / 1.3 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/1.42, allocations: 0.9514 MB / 1.301 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/1.422, allocations: 1.221 MB / 1.302 GB, free: 7.496 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/1.423, allocations: 1.055 MB / 1.303 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/1.423, allocations: 4 kB / 1.303 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008477/1.432, allocations: 3.729 MB / 1.307 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/1.432, allocations: 8 kB / 1.307 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/1.432, allocations: 8 kB / 1.307 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006545/1.438, allocations: 1.611 MB / 1.308 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/1.441, allocations: 435.3 kB / 1.309 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02606/1.467, allocations: 24.78 MB / 1.333 GB, free: 6.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/1.47, allocations: 323.5 kB / 1.333 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003726/1.47, allocations: 59.97 kB / 1.333 GB, free: 5.664 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000583/1.471, allocations: 182.4 kB / 1.333 GB, free: 5.48 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005299/1.471, allocations: 166.1 kB / 1.333 GB, free: 5.316 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/1.48, allocations: 3.767 MB / 1.337 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/1.48, allocations: 12 kB / 1.337 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.64e-05/1.48, allocations: 19.95 kB / 1.337 GB, free: 1.469 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.48, allocations: 7.969 kB / 1.337 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/1.493, allocations: 6.205 MB / 1.343 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.493, allocations: 4 kB / 1.343 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/1.495, allocations: 391.3 kB / 1.344 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/1.501, allocations: 1.502 MB / 1.345 GB, free: 9.156 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002078/1.501, allocations: 47.91 kB / 1.345 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02527/1.527, allocations: 23.8 MB / 1.368 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.527, allocations: 4.031 kB / 1.368 GB, free: 15.56 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008686/1.535, allocations: 3.698 MB / 1.372 GB, free: 11.68 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.537, allocations: 474.9 kB / 1.372 GB, free: 11.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004841/1.537, allocations: 24 kB / 1.372 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.54, allocations: 319.5 kB / 1.373 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005579/1.54, allocations: 128.7 kB / 1.373 GB, free: 10.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001689/1.54, allocations: 48.16 kB / 1.373 GB, free: 10.69 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001449/1.542, allocations: 0.743 MB / 1.374 GB, free: 9.945 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.41e-07/1.542, allocations: 0 / 1.374 GB, free: 9.945 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002697/1.545, allocations: 0.6132 MB / 1.374 GB, free: 9.332 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/1.545, allocations: 158.4 kB / 1.374 GB, free: 9.172 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007389/1.552, allocations: 4.33 MB / 1.379 GB, free: 4.672 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/1.553, allocations: 4 kB / 1.379 GB, free: 4.668 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005264/1.558, allocations: 3.116 MB / 1.382 GB, free: 1.379 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/1.561, allocations: 498.8 kB / 1.382 GB, free: 0.8945 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4994/2.06, allocations: 2.882 MB / 1.385 GB, free: 230 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/2.061, allocations: 1.512 MB / 1.386 GB, free: 229.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002102/2.063, allocations: 420 kB / 1.387 GB, free: 229.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/2.064, allocations: 116.7 kB / 1.387 GB, free: 229.2 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/2.064, allocations: 0 / 1.387 GB, free: 229.2 MB / 0.948 GB Notification: Performance of Templates: time 0.06437/2.128, allocations: 37.7 MB / 1.424 GB, free: 228.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)