Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.58/2.58, allocations: 285 MB / 292.5 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001411/0.001411, allocations: 180.8 kB / 360.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.3 MB / 0.6192 GB, free: 12.16 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 87.41 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.746e-05/2.742e-05, allocations: 4 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8176, allocations: 115.3 MB / 0.9635 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/1.176, allocations: 190.9 MB / 1.15 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/1.176, allocations: 97.28 kB / 1.15 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2752/1.451, allocations: 63.45 MB / 1.212 GB, free: 13.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.054e-06/1.452, allocations: 0 / 1.212 GB, free: 13.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001502/1.452, allocations: 32 kB / 1.212 GB, free: 13.54 MB / 0.823 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.006572/1.458, allocations: 1.561 MB / 1.213 GB, free: 11.93 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/1.458, allocations: 8.031 kB / 1.213 GB, free: 11.92 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006259/1.465, allocations: 0.4936 MB / 1.214 GB, free: 11.42 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/1.469, allocations: 1.145 MB / 1.215 GB, free: 10.23 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/1.469, allocations: 52 kB / 1.215 GB, free: 10.18 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004105/1.469, allocations: 87.98 kB / 1.215 GB, free: 10.09 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00502/1.474, allocations: 1.767 MB / 1.217 GB, free: 8.324 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007476/1.482, allocations: 2.218 MB / 1.219 GB, free: 6.043 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-05/1.482, allocations: 4 kB / 1.219 GB, free: 6.039 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/1.482, allocations: 0 / 1.219 GB, free: 6.039 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000218/1.482, allocations: 95 kB / 1.219 GB, free: 5.945 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02051/1.503, allocations: 10.11 MB / 1.229 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/1.504, allocations: 0.5375 MB / 1.23 GB, free: 10.44 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008844/1.505, allocations: 372.5 kB / 1.23 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/1.505, allocations: 92.06 kB / 1.23 GB, free: 9.965 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/1.506, allocations: 39.94 kB / 1.23 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=36): time 2.735e-06/1.506, allocations: 0 / 1.23 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of matching and sorting (n=52): time 0.01453/1.52, allocations: 3.145 MB / 1.233 GB, free: 6.754 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.52, allocations: 89.55 kB / 1.233 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/1.522, allocations: 0.7218 MB / 1.234 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/1.522, allocations: 25.7 kB / 1.234 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007366/1.523, allocations: 0.7576 MB / 1.235 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/1.523, allocations: 185.3 kB / 1.235 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.336e-05/1.523, allocations: 0 / 1.235 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002383/1.523, allocations: 390.7 kB / 1.235 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/1.525, allocations: 0.5765 MB / 1.236 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/1.526, allocations: 0.9378 MB / 1.237 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/1.529, allocations: 0.8373 MB / 1.238 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/1.529, allocations: 4 kB / 1.238 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01123/1.54, allocations: 2.578 MB / 1.24 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002077/1.542, allocations: 4.522 MB / 1.244 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-05/1.542, allocations: 12 kB / 1.244 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008147/1.55, allocations: 1.096 MB / 1.246 GB, free: 9.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.552, allocations: 225.6 kB / 1.246 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/1.57, allocations: 6.535 MB / 1.252 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002027/1.573, allocations: 153.9 kB / 1.252 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.573, allocations: 43.92 kB / 1.252 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/1.573, allocations: 4 kB / 1.252 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003418/1.576, allocations: 1.274 MB / 1.254 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.1e-05/1.576, allocations: 12 kB / 1.254 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/1.576, allocations: 16.84 kB / 1.254 GB, free: 0.8906 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/1.578, allocations: 283.5 kB / 1.254 GB, free: 0.6133 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.977e-05/1.578, allocations: 31.88 kB / 1.254 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.58, allocations: 95.77 kB / 1.254 GB, free: 500 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/1.58, allocations: 47.98 kB / 1.254 GB, free: 452 kB / 0.8542 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 () * 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.0003565/1.58, allocations: 140.4 kB / 1.254 GB, free: 304 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/1.58, allocations: 71.16 kB / 1.254 GB, free: 232 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6351/2.216, allocations: 2.259 MB / 1.256 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/2.216, allocations: 6.844 kB / 1.256 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/2.216, allocations: 3.438 kB / 1.256 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/2.216, allocations: 3.734 kB / 1.256 GB, free: 215.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/2.23, allocations: 3.876 MB / 1.26 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/2.23, allocations: 2.344 kB / 1.26 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000831/2.231, allocations: 101.3 kB / 1.26 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009048/2.24, allocations: 1.349 MB / 1.262 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/2.24, allocations: 7.234 kB / 1.262 GB, free: 214.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01637/2.257, allocations: 9.102 MB / 1.271 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/2.257, allocations: 8.359 kB / 1.271 GB, free: 210 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009809/2.267, allocations: 2.335 MB / 1.273 GB, free: 209.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009491/2.268, allocations: 272.4 kB / 1.273 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/2.268, allocations: 4.375 kB / 1.273 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/2.27, allocations: 159.4 kB / 1.273 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/2.271, allocations: 48.02 kB / 1.273 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.022e-05/2.271, allocations: 16.12 kB / 1.273 GB, free: 209.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001185/2.272, allocations: 0.5585 MB / 1.274 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.11e-07/2.272, allocations: 2.75 kB / 1.274 GB, free: 209.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003457/2.275, allocations: 0.5397 MB / 1.274 GB, free: 209.4 MB / 0.8542 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 () * 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.0005152/2.276, allocations: 182.1 kB / 1.275 GB, free: 209.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006415/2.282, allocations: 2.355 MB / 1.277 GB, free: 209.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/2.282, allocations: 1.219 kB / 1.277 GB, free: 209.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/2.286, allocations: 1.179 MB / 1.278 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/2.287, allocations: 184.1 kB / 1.278 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007157/2.295, allocations: 2.363 MB / 1.281 GB, free: 208.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002459/2.297, allocations: 1.64 MB / 1.282 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003061/2.3, allocations: 0.577 MB / 1.283 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/2.301, allocations: 50.31 kB / 1.283 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.112e-06/2.301, allocations: 1.531 kB / 1.283 GB, free: 207.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.05346/2.354, allocations: 19.08 MB / 1.301 GB, free: 206.8 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)