Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001195, allocations: 98.81 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.001852/0.001852, allocations: 183.2 kB / 16.92 MB, free: 6.691 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.38/1.38, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7008/0.7008, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 8.281 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1608, allocations: 77.54 MB / 0.56 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.3185/0.4793, allocations: 33.68 MB / 0.5929 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.4985, allocations: 11.39 MB / 0.604 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003166/0.5017, allocations: 138.8 kB / 0.6041 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001892/0.5036, allocations: 0.6888 MB / 0.6048 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.5091, allocations: 1.874 MB / 0.6066 GB, free: 9.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005365/0.5144, allocations: 1.997 MB / 0.6086 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01609/0.5305, allocations: 12.41 MB / 0.6207 GB, free: 3.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02472/0.5553, allocations: 14.35 MB / 0.6347 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005739/0.5611, allocations: 2.614 MB / 0.6373 GB, free: 7.219 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006189/0.5673, allocations: 3.558 MB / 0.6407 GB, free: 3.648 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00133/0.5687, allocations: 324 kB / 0.641 GB, free: 3.332 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/0.5738, allocations: 1.907 MB / 0.6429 GB, free: 1.422 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003965/0.5778, allocations: 2.459 MB / 0.6453 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004878/0.5827, allocations: 2.734 MB / 0.648 GB, free: 12.2 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01514/0.5979, allocations: 11.44 MB / 0.6591 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.5979, allocations: 0 / 0.6591 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5979, allocations: 4 kB / 0.6591 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003345/0.5983, allocations: 0 / 0.6591 GB, free: 0.7227 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01089/0.6092, allocations: 4.644 MB / 0.6637 GB, free: 12.01 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.6092, allocations: 12.03 kB / 0.6637 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0059/0.6151, allocations: 1.064 MB / 0.6647 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.6203, allocations: 3.262 MB / 0.6679 GB, free: 7.605 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.6206, allocations: 411.5 kB / 0.6683 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008792/0.6215, allocations: 0.5393 MB / 0.6688 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.6362, allocations: 9.079 MB / 0.6777 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001277/0.6364, allocations: 31.69 kB / 0.6777 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005283/0.6369, allocations: 240 kB / 0.678 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003388/0.6373, allocations: 342.8 kB / 0.6783 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01067/0.6479, allocations: 6.826 MB / 0.685 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03951/0.6875, allocations: 40.19 MB / 0.7242 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003858/0.6914, allocations: 3.113 MB / 0.7272 GB, free: 6.656 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.694, allocations: 1.95 MB / 0.7292 GB, free: 4.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-05/0.6941, allocations: 18 kB / 0.7292 GB, free: 4.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.6941, allocations: 52.56 kB / 0.7292 GB, free: 4.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=179): time 3.546e-06/0.6941, allocations: 0 / 0.7292 GB, free: 4.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=182): time 0.02458/0.7187, allocations: 10.04 MB / 0.739 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.7188, allocations: 73.34 kB / 0.7391 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.7211, allocations: 1.538 MB / 0.7406 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.7212, allocations: 49.7 kB / 0.7406 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.7226, allocations: 2.253 MB / 0.7428 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.00054/0.7231, allocations: 0.6277 MB / 0.7435 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.7234, allocations: 182.1 kB / 0.7436 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7235, allocations: 305.1 kB / 0.7439 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.7252, allocations: 1.179 MB / 0.7451 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002175/0.7274, allocations: 1.885 MB / 0.7469 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004438/0.7318, allocations: 3.371 MB / 0.7502 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-05/0.7318, allocations: 8 kB / 0.7502 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007652/0.7395, allocations: 4.58 MB / 0.7547 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.7396, allocations: 17.72 kB / 0.7547 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.7396, allocations: 20 kB / 0.7547 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003755/0.7433, allocations: 1.58 MB / 0.7563 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7445, allocations: 355.3 kB / 0.7566 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0228/0.7673, allocations: 17.06 MB / 0.7733 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.7691, allocations: 119.9 kB / 0.7734 GB, free: 6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/0.7695, allocations: 100 kB / 0.7735 GB, free: 5.902 MB / 0.5919 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003602/0.7731, allocations: 1.901 MB / 0.7753 GB, free: 3.992 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005594/0.7737, allocations: 221.4 kB / 0.7755 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007372/0.7811, allocations: 4.106 MB / 0.7795 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.7811, allocations: 16 kB / 0.7796 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.262e-05/0.7811, allocations: 16 kB / 0.7796 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.7812, allocations: 7.969 kB / 0.7796 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.7981, allocations: 9.466 MB / 0.7888 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.7982, allocations: 8 kB / 0.7888 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009034/0.7991, allocations: 183.7 kB / 0.789 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/0.8027, allocations: 1.349 MB / 0.7903 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.8028, allocations: 36 kB / 0.7904 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/0.8242, allocations: 15.99 MB / 0.806 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.8242, allocations: 4 kB / 0.806 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007461/0.8317, allocations: 4.069 MB / 0.81 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.8331, allocations: 0.5373 MB / 0.8105 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/0.8335, allocations: 36 kB / 0.8105 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.8346, allocations: 87.89 kB / 0.8106 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000533/0.8352, allocations: 165.6 kB / 0.8108 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.8353, allocations: 48 kB / 0.8108 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001679/0.837, allocations: 1.001 MB / 0.8118 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.01e-07/0.837, allocations: 0 / 0.8118 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003272/0.8402, allocations: 0.9844 MB / 0.8127 GB, free: 12.73 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002671/0.8405, allocations: 155 kB / 0.8129 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006878/0.8474, allocations: 4.3 MB / 0.8171 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8474, allocations: 0 / 0.8171 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004228/0.8517, allocations: 2.666 MB / 0.8197 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004591/0.8563, allocations: 0.7141 MB / 0.8204 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3091/1.165, allocations: 11.02 MB / 0.8311 GB, free: 177.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006458/1.172, allocations: 3.577 MB / 0.8346 GB, free: 177.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001744/1.174, allocations: 457 kB / 0.8351 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/1.174, allocations: 115.8 kB / 0.8352 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/1.174, allocations: 0 / 0.8352 GB, free: 177.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.06954/1.244, allocations: 41.81 MB / 0.876 GB, free: 158 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)