Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 98.89 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 178.6 kB / 16.92 MB, free: 6.895 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.487/1.487, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8133/0.8133, allocations: 126.9 MB / 418.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003729, allocations: 8 kB / 0.498 GB, free: 9.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.5281, allocations: 80.23 MB / 0.5763 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0449/0.573, allocations: 36.71 MB / 0.6122 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02414/0.5972, allocations: 10.87 MB / 0.6228 GB, free: 6.016 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004991/0.6022, allocations: 137.8 kB / 0.6229 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003436/0.6057, allocations: 0.7785 MB / 0.6237 GB, free: 5.289 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00737/0.6131, allocations: 2.083 MB / 0.6257 GB, free: 3.586 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006837/0.6199, allocations: 1.793 MB / 0.6275 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0184/0.6384, allocations: 13.19 MB / 0.6404 GB, free: 5.793 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02787/0.6663, allocations: 14.47 MB / 0.6545 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007371/0.6737, allocations: 2.836 MB / 0.6573 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008386/0.6821, allocations: 3.873 MB / 0.661 GB, free: 500 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001794/0.684, allocations: 344 kB / 0.6614 GB, free: 156 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004505/0.6885, allocations: 1.326 MB / 0.6627 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.004041/0.6925, allocations: 2.533 MB / 0.6651 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.006704/0.6993, allocations: 2.964 MB / 0.668 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01653/0.7158, allocations: 11.68 MB / 0.6794 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.415e-05/0.7159, allocations: 4 kB / 0.6794 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.377e-06/0.7159, allocations: 0 / 0.6794 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004519/0.7164, allocations: 0 / 0.6794 GB, free: 13.58 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01607/0.7324, allocations: 5.086 MB / 0.6844 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.7325, allocations: 8.031 kB / 0.6844 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006603/0.7391, allocations: 1.071 MB / 0.6855 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007915/0.7471, allocations: 3.419 MB / 0.6888 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005109/0.7476, allocations: 427.7 kB / 0.6892 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002103/0.7497, allocations: 0.5394 MB / 0.6897 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02166/0.7714, allocations: 9.377 MB / 0.6989 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/0.7716, allocations: 31.72 kB / 0.6989 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000908/0.7725, allocations: 244 kB / 0.6992 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007446/0.7733, allocations: 422.9 kB / 0.6996 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0172/0.7905, allocations: 7.12 MB / 0.7065 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06077/0.8513, allocations: 41.37 MB / 0.7469 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005612/0.857, allocations: 3.104 MB / 0.7499 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003546/0.8606, allocations: 2.114 MB / 0.752 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/0.8607, allocations: 29.84 kB / 0.752 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.428e-05/0.8608, allocations: 60.56 kB / 0.7521 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=209): time 3.576e-06/0.8608, allocations: 0 / 0.7521 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=212): time 0.0288/0.8896, allocations: 10.6 MB / 0.7625 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/0.8898, allocations: 89.27 kB / 0.7625 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003437/0.8932, allocations: 2.002 MB / 0.7645 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002936/0.8935, allocations: 65.64 kB / 0.7646 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002017/0.8955, allocations: 2.404 MB / 0.7669 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009077/0.8965, allocations: 0.7318 MB / 0.7676 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/0.8968, allocations: 211.1 kB / 0.7678 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8969, allocations: 301.1 kB / 0.7681 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002287/0.8992, allocations: 1.376 MB / 0.7694 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.9022, allocations: 2.1 MB / 0.7715 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005687/0.9079, allocations: 3.77 MB / 0.7752 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-05/0.908, allocations: 8 kB / 0.7752 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009585/0.9176, allocations: 5.072 MB / 0.7801 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.9177, allocations: 13.72 kB / 0.7802 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/0.9177, allocations: 24 kB / 0.7802 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00407/0.9218, allocations: 1.582 MB / 0.7817 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.9238, allocations: 459.2 kB / 0.7822 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0258/0.9497, allocations: 17.11 MB / 0.7989 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.9525, allocations: 143.9 kB / 0.799 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002632/0.9528, allocations: 112 kB / 0.7991 GB, free: 13.41 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00503/0.9578, allocations: 1.945 MB / 0.801 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/0.959, allocations: 292.6 kB / 0.8013 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00904/0.9681, allocations: 4.451 MB / 0.8056 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/0.9682, allocations: 20 kB / 0.8057 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.102e-05/0.9682, allocations: 20 kB / 0.8057 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.16e-05/0.9682, allocations: 11.91 kB / 0.8057 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3639/1.332, allocations: 9.651 MB / 0.8151 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.332, allocations: 7.031 kB / 0.8151 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.333, allocations: 234.1 kB / 0.8153 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003755/1.337, allocations: 1.428 MB / 0.8167 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/1.337, allocations: 39.73 kB / 0.8168 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02177/1.359, allocations: 17.11 MB / 0.8335 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/1.359, allocations: 8.781 kB / 0.8335 GB, free: 192.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007459/1.367, allocations: 4.536 MB / 0.8379 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.368, allocations: 0.6406 MB / 0.8385 GB, free: 190 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/1.369, allocations: 39.94 kB / 0.8386 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.37, allocations: 120.6 kB / 0.8387 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005966/1.371, allocations: 181.8 kB / 0.8389 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.371, allocations: 59.44 kB / 0.8389 GB, free: 189.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001824/1.372, allocations: 1.315 MB / 0.8402 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.8e-07/1.372, allocations: 0 / 0.8402 GB, free: 189.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003692/1.376, allocations: 1.141 MB / 0.8413 GB, free: 189.3 MB / 0.6387 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003405/1.377, allocations: 168.1 kB / 0.8415 GB, free: 189.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006708/1.383, allocations: 4.706 MB / 0.8461 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.383, allocations: 4.375 kB / 0.8461 GB, free: 187.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004615/1.388, allocations: 2.919 MB / 0.8489 GB, free: 185.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006446/1.394, allocations: 0.8299 MB / 0.8497 GB, free: 185.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/1.412, allocations: 11.77 MB / 0.8612 GB, free: 178.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005412/1.418, allocations: 3.698 MB / 0.8648 GB, free: 174.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002576/1.42, allocations: 0.5518 MB / 0.8654 GB, free: 174.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006173/1.421, allocations: 147.4 kB / 0.8655 GB, free: 174 MB / 0.6387 GB Notification: Performance of SimCode: time 9.61e-07/1.421, allocations: 0 / 0.8655 GB, free: 174 MB / 0.6387 GB Notification: Performance of Templates: time 0.0797/1.501, allocations: 50.16 MB / 0.9145 GB, free: 124.5 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)