Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 179.8 kB / 327.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.4 MB / 0.5785 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007587/0.0007587, allocations: 97.55 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000372/0.000372, allocations: 13.53 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1917, allocations: 106.3 MB / 0.9012 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5702/0.7619, allocations: 164.6 MB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.7623, allocations: 96.91 kB / 1.062 GB, free: 153.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3702/1.133, allocations: 182.5 MB / 1.24 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.504e-06/1.133, allocations: 0 / 1.24 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003893/1.133, allocations: 128 kB / 1.24 GB, free: 4.203 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0144/1.147, allocations: 4.442 MB / 1.245 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/1.147, allocations: 8.031 kB / 1.245 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006639/1.154, allocations: 1.021 MB / 1.246 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007849/1.162, allocations: 3.299 MB / 1.249 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/1.162, allocations: 362.1 kB / 1.249 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001693/1.164, allocations: 476.2 kB / 1.25 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/1.182, allocations: 7.543 MB / 1.257 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002117/1.182, allocations: 16.06 kB / 1.257 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001428/1.184, allocations: 223.9 kB / 1.257 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003292/1.184, allocations: 273.2 kB / 1.258 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/1.196, allocations: 5.395 MB / 1.263 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04014/1.237, allocations: 36.28 MB / 1.298 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/1.24, allocations: 2.132 MB / 1.3 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/1.242, allocations: 1.481 MB / 1.302 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/1.242, allocations: 17.31 kB / 1.302 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/1.242, allocations: 51.88 kB / 1.302 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=157): time 4.157e-06/1.242, allocations: 0 / 1.302 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of matching and sorting (n=160): time 0.01878/1.261, allocations: 7.564 MB / 1.309 GB, free: 9.488 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/1.261, allocations: 68.72 kB / 1.309 GB, free: 9.41 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004281/1.266, allocations: 1.798 MB / 1.311 GB, free: 7.586 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002635/1.266, allocations: 57.7 kB / 1.311 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002118/1.268, allocations: 2.096 MB / 1.313 GB, free: 5.402 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008226/1.269, allocations: 0.5584 MB / 1.314 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/1.269, allocations: 44 kB / 1.314 GB, free: 4.793 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002548/1.269, allocations: 390.1 kB / 1.314 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002591/1.272, allocations: 1.011 MB / 1.315 GB, free: 3.391 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003222/1.275, allocations: 1.74 MB / 1.317 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00631/1.281, allocations: 2.996 MB / 1.32 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-05/1.282, allocations: 8 kB / 1.32 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.007456/1.289, allocations: 3.814 MB / 1.324 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/1.289, allocations: 12 kB / 1.324 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/1.289, allocations: 27.98 kB / 1.324 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/1.292, allocations: 0.9007 MB / 1.324 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/1.293, allocations: 423.2 kB / 1.325 GB, free: 8.723 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/1.312, allocations: 21.04 MB / 1.345 GB, free: 2.074 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/1.314, allocations: 119.9 kB / 1.346 GB, free: 1.957 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/1.314, allocations: 95.98 kB / 1.346 GB, free: 1.863 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003581/1.318, allocations: 1.648 MB / 1.347 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000638/1.319, allocations: 254.9 kB / 1.348 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005358/1.324, allocations: 3.252 MB / 1.351 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.324, allocations: 16 kB / 1.351 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/1.324, allocations: 12 kB / 1.351 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/1.324, allocations: 15.89 kB / 1.351 GB, free: 12.61 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/1.339, allocations: 7.51 MB / 1.358 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/1.339, allocations: 4 kB / 1.358 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009142/1.34, allocations: 223.6 kB / 1.358 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/1.342, allocations: 0.8727 MB / 1.359 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/1.342, allocations: 32 kB / 1.359 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4499/1.792, allocations: 21 MB / 1.38 GB, free: 193 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.792, allocations: 9.297 kB / 1.38 GB, free: 193 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005131/1.797, allocations: 3.363 MB / 1.383 GB, free: 192.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/1.799, allocations: 0.5354 MB / 1.383 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/1.799, allocations: 33.16 kB / 1.384 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009575/1.8, allocations: 91.09 kB / 1.384 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/1.8, allocations: 145 kB / 1.384 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-05/1.8, allocations: 48.16 kB / 1.384 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001667/1.802, allocations: 1.181 MB / 1.385 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.802, allocations: 0 / 1.385 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002909/1.805, allocations: 0.9324 MB / 1.386 GB, free: 192.4 MB / 0.8542 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002998/1.805, allocations: 166.6 kB / 1.386 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006823/1.812, allocations: 4.338 MB / 1.39 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.812, allocations: 1.375 kB / 1.39 GB, free: 190.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004438/1.817, allocations: 2.991 MB / 1.393 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/1.822, allocations: 0.7283 MB / 1.394 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/1.836, allocations: 9.199 MB / 1.403 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003078/1.84, allocations: 3.208 MB / 1.406 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002136/1.842, allocations: 0.5199 MB / 1.407 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/1.842, allocations: 140.7 kB / 1.407 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/1.842, allocations: 0 / 1.407 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.0661/1.908, allocations: 39.37 MB / 1.445 GB, free: 183.6 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)