Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 293 MB / 309 MB, free: 4.781 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.001013/0.001013, allocations: 175.2 kB / 378.7 MB, free: 1.031 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.741/1.741, allocations: 205.4 MB / 0.6383 GB, free: 9.168 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.0008332/0.0008332, allocations: 87.98 kB / 0.7527 GB, free: 62.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00042/0.00042, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2901, allocations: 116.4 MB / 0.9905 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8545/1.145, allocations: 192.8 MB / 1.179 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/1.145, allocations: 96.83 kB / 1.179 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.1502/1.295, allocations: 64.11 MB / 1.241 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.054e-06/1.295, allocations: 0 / 1.241 GB, free: 3.969 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.15e-05/1.295, allocations: 39.92 kB / 1.242 GB, free: 3.93 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003295/1.299, allocations: 1.644 MB / 1.243 GB, free: 2.234 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.299, allocations: 8.031 kB / 1.243 GB, free: 2.227 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/1.301, allocations: 0.4906 MB / 1.244 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/1.303, allocations: 1.172 MB / 1.245 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.492e-05/1.303, allocations: 115.1 kB / 1.245 GB, free: 416 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/1.304, allocations: 152 kB / 1.245 GB, free: 264 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004179/1.308, allocations: 2.493 MB / 1.247 GB, free: 13.7 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/1.308, allocations: 7.844 kB / 1.247 GB, free: 13.69 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/1.308, allocations: 64 kB / 1.248 GB, free: 13.63 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-05/1.308, allocations: 83.06 kB / 1.248 GB, free: 13.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003325/1.312, allocations: 2.046 MB / 1.25 GB, free: 11.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01241/1.324, allocations: 10.51 MB / 1.26 GB, free: 104 kB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/1.325, allocations: 0.5804 MB / 1.26 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/1.326, allocations: 391 kB / 1.261 GB, free: 15.13 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/1.326, allocations: 89.11 kB / 1.261 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.326, allocations: 38.56 kB / 1.261 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 3.407e-06/1.326, allocations: 0 / 1.261 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.01921/1.345, allocations: 6.251 MB / 1.267 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/1.345, allocations: 85.55 kB / 1.267 GB, free: 8.559 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/1.346, allocations: 0.8906 MB / 1.268 GB, free: 7.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/1.346, allocations: 37.7 kB / 1.268 GB, free: 7.617 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/1.347, allocations: 0.7616 MB / 1.269 GB, free: 6.844 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/1.347, allocations: 181.4 kB / 1.269 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/1.347, allocations: 24 kB / 1.269 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001754/1.347, allocations: 386.8 kB / 1.269 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009323/1.348, allocations: 0.6343 MB / 1.27 GB, free: 5.621 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/1.35, allocations: 1.007 MB / 1.271 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/1.353, allocations: 1.666 MB / 1.273 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.353, allocations: 4 kB / 1.273 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0107/1.363, allocations: 3.206 MB / 1.276 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003754/1.364, allocations: 431.1 kB / 1.276 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.364, allocations: 12 kB / 1.276 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00757/1.371, allocations: 1.856 MB / 1.278 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009633/1.372, allocations: 223.6 kB / 1.278 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.387, allocations: 10.17 MB / 1.288 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/1.389, allocations: 183.6 kB / 1.288 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002254/1.389, allocations: 43.94 kB / 1.288 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/1.389, allocations: 4 kB / 1.288 GB, free: 1.781 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007361/1.397, allocations: 2.614 MB / 1.291 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/1.397, allocations: 12 kB / 1.291 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004996/1.402, allocations: 1.192 MB / 1.292 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000976/1.403, allocations: 259.5 kB / 1.292 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008827/1.412, allocations: 5.746 MB / 1.298 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.413, allocations: 151.8 kB / 1.298 GB, free: 7.523 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/1.413, allocations: 40 kB / 1.298 GB, free: 7.484 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001875/1.415, allocations: 0.8401 MB / 1.299 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002888/1.415, allocations: 83.09 kB / 1.299 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00769/1.423, allocations: 2.668 MB / 1.302 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/1.423, allocations: 4 kB / 1.302 GB, free: 3.855 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.423, allocations: 4 kB / 1.302 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/1.423, allocations: 0 / 1.302 GB, free: 3.852 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01034/1.433, allocations: 4.622 MB / 1.306 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/1.433, allocations: 4.031 kB / 1.306 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/1.434, allocations: 99.86 kB / 1.306 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006478/1.44, allocations: 1.696 MB / 1.308 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/1.441, allocations: 16 kB / 1.308 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/1.453, allocations: 9.711 MB / 1.317 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/1.453, allocations: 4.031 kB / 1.317 GB, free: 3.039 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008129/1.461, allocations: 2.637 MB / 1.32 GB, free: 356 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008584/1.462, allocations: 288 kB / 1.32 GB, free: 48 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/1.462, allocations: 15.97 kB / 1.32 GB, free: 32 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008395/1.463, allocations: 131.8 kB / 1.32 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003167/1.464, allocations: 55.81 kB / 1.32 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/1.464, allocations: 16 kB / 1.32 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001099/1.465, allocations: 0.6356 MB / 1.321 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.21e-07/1.465, allocations: 0 / 1.321 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00261/1.467, allocations: 0.625 MB / 1.322 GB, free: 14.57 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003974/1.468, allocations: 178.8 kB / 1.322 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.006154/1.474, allocations: 3.372 MB / 1.325 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.474, allocations: 0 / 1.325 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001908/1.476, allocations: 1.276 MB / 1.326 GB, free: 9.613 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.477, allocations: 225.5 kB / 1.327 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/1.483, allocations: 3.525 MB / 1.33 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001409/1.484, allocations: 1.622 MB / 1.332 GB, free: 4.168 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001394/1.486, allocations: 498.4 kB / 1.332 GB, free: 3.676 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/1.486, allocations: 59.36 kB / 1.332 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of SimCode: time 1.302e-06/1.486, allocations: 0 / 1.332 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of Templates: time 0.03644/1.522, allocations: 23.82 MB / 1.355 GB, free: 11.89 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)