Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 108.9 kB / 17.03 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7424/0.7424, allocations: 115.1 MB / 406.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3901, allocations: 76.15 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.04466/0.4348, allocations: 26.62 MB / 0.5836 GB, free: 18.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.4526, allocations: 8.075 MB / 0.5915 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003237/0.4559, allocations: 114.8 kB / 0.5916 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006703/0.4626, allocations: 2.767 MB / 0.5943 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004572/0.4672, allocations: 1.585 MB / 0.5958 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004306/0.4715, allocations: 1.676 MB / 0.5975 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007076/0.4786, allocations: 6.135 MB / 0.6035 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007649/0.4863, allocations: 7.332 MB / 0.6106 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/0.4912, allocations: 2.574 MB / 0.6131 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004521/0.4958, allocations: 2.835 MB / 0.6159 GB, free: 8.656 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000919/0.4967, allocations: 0.5117 MB / 0.6164 GB, free: 8.145 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.4997, allocations: 1.287 MB / 0.6177 GB, free: 6.855 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00219/0.5019, allocations: 2.047 MB / 0.6197 GB, free: 4.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00372/0.5056, allocations: 2.381 MB / 0.622 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0104/0.5161, allocations: 8.057 MB / 0.6298 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.064e-05/0.5161, allocations: 4 kB / 0.6299 GB, free: 10.33 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.836e-06/0.5161, allocations: 0 / 0.6299 GB, free: 10.33 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003055/0.5164, allocations: 0 / 0.6299 GB, free: 10.33 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01103/0.5275, allocations: 4.224 MB / 0.634 GB, free: 6.043 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5275, allocations: 12.03 kB / 0.634 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.5321, allocations: 0.8039 MB / 0.6348 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005616/0.5377, allocations: 2.573 MB / 0.6373 GB, free: 2.594 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002139/0.538, allocations: 271.6 kB / 0.6375 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001063/0.539, allocations: 376.6 kB / 0.6379 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.5494, allocations: 5.992 MB / 0.6438 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.514e-05/0.5495, allocations: 23.77 kB / 0.6438 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003862/0.5499, allocations: 160 kB / 0.6439 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005724/0.5505, allocations: 278.9 kB / 0.6442 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007859/0.5583, allocations: 4.524 MB / 0.6486 GB, free: 6.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02874/0.5871, allocations: 27.46 MB / 0.6754 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.5888, allocations: 1.12 MB / 0.6765 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001309/0.5901, allocations: 1.015 MB / 0.6775 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.816e-05/0.5902, allocations: 17 kB / 0.6775 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.5903, allocations: 47.56 kB / 0.6776 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 3.647e-06/0.5903, allocations: 0 / 0.6776 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131): time 0.0208/0.6111, allocations: 9.655 MB / 0.687 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.6112, allocations: 68.66 kB / 0.6871 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/0.6131, allocations: 1.502 MB / 0.6885 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.6132, allocations: 53.7 kB / 0.6886 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009991/0.6142, allocations: 1.667 MB / 0.6902 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.6146, allocations: 469.3 kB / 0.6907 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/0.6151, allocations: 331.2 kB / 0.691 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.974e-05/0.6152, allocations: 305.1 kB / 0.6913 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.6165, allocations: 0.9174 MB / 0.6922 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.6181, allocations: 1.459 MB / 0.6936 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003001/0.6211, allocations: 2.546 MB / 0.6961 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.6211, allocations: 7.938 kB / 0.6961 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005606/0.6268, allocations: 3.281 MB / 0.6993 GB, free: 15.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.6268, allocations: 12 kB / 0.6993 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.6269, allocations: 20.84 kB / 0.6993 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/0.6291, allocations: 0.7413 MB / 0.7 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001675/0.6308, allocations: 395.2 kB / 0.7004 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/0.6463, allocations: 17.04 MB / 0.7171 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.648, allocations: 95.91 kB / 0.7171 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.6482, allocations: 76 kB / 0.7172 GB, free: 11.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00221/0.6504, allocations: 1.314 MB / 0.7185 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/0.6508, allocations: 201.6 kB / 0.7187 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/0.6558, allocations: 2.784 MB / 0.7214 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.6559, allocations: 12 kB / 0.7214 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/0.6559, allocations: 8 kB / 0.7214 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.6559, allocations: 11.97 kB / 0.7214 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.6671, allocations: 6.221 MB / 0.7275 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6671, allocations: 4 kB / 0.7275 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.6683, allocations: 231.6 kB / 0.7277 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.6704, allocations: 0.6714 MB / 0.7284 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6706, allocations: 35.98 kB / 0.7284 GB, free: 148 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2758/0.9464, allocations: 16.78 MB / 0.7448 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.9465, allocations: 10.94 kB / 0.7448 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006849/0.9533, allocations: 4.008 MB / 0.7487 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/0.9545, allocations: 451.8 kB / 0.7492 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002831/0.9548, allocations: 38.02 kB / 0.7492 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009463/0.9558, allocations: 81.36 kB / 0.7493 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/0.9561, allocations: 115.5 kB / 0.7494 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.9562, allocations: 38.52 kB / 0.7494 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001465/0.9577, allocations: 0.9953 MB / 0.7504 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9577, allocations: 1.156 kB / 0.7504 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00223/0.96, allocations: 0.6848 MB / 0.7511 GB, free: 152.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002627/0.9602, allocations: 158.9 kB / 0.7512 GB, free: 152.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005028/0.9653, allocations: 3.526 MB / 0.7547 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9653, allocations: 2.062 kB / 0.7547 GB, free: 150.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003131/0.9684, allocations: 2.289 MB / 0.7569 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/0.9715, allocations: 0.6648 MB / 0.7576 GB, free: 149 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.9829, allocations: 6.453 MB / 0.7639 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003219/0.9862, allocations: 2.667 MB / 0.7665 GB, free: 145 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001757/0.9879, allocations: 482.3 kB / 0.7669 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.9883, allocations: 117.6 kB / 0.767 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.9883, allocations: 0 / 0.767 GB, free: 144.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.05124/1.04, allocations: 33.63 MB / 0.7999 GB, free: 125.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)