Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001657/0.001657, allocations: 196 kB / 17.34 MB, free: 5.719 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7611/0.7611, allocations: 115.3 MB / 406.5 MB, free: 6.211 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 66.84 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.174, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03931/0.2134, allocations: 35.1 MB / 0.6664 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01945/0.2329, allocations: 9.948 MB / 0.6761 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005178/0.2381, allocations: 143.3 kB / 0.6762 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.2491, allocations: 3.807 MB / 0.6799 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008185/0.2573, allocations: 2.04 MB / 0.6819 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006996/0.2643, allocations: 1.966 MB / 0.6839 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01192/0.2763, allocations: 7.967 MB / 0.6916 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.2899, allocations: 9.518 MB / 0.7009 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0066/0.2965, allocations: 3.424 MB / 0.7043 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007549/0.3041, allocations: 3.742 MB / 0.7079 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002649/0.3068, allocations: 0.6835 MB / 0.7086 GB, free: 5.742 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004841/0.3116, allocations: 1.44 MB / 0.71 GB, free: 4.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.004688/0.3164, allocations: 2.616 MB / 0.7126 GB, free: 1.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00637/0.3228, allocations: 3.101 MB / 0.7156 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01423/0.337, allocations: 10.38 MB / 0.7257 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3371, allocations: 4 kB / 0.7257 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3371, allocations: 0 / 0.7257 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003849/0.3375, allocations: 0 / 0.7257 GB, free: 4.148 MB / 0.5606 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.01567/0.3531, allocations: 5.408 MB / 0.731 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3532, allocations: 8.031 kB / 0.731 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/0.3593, allocations: 0.9666 MB / 0.732 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008365/0.3677, allocations: 3.178 MB / 0.7351 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/0.3682, allocations: 357.9 kB / 0.7354 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002238/0.3704, allocations: 472.2 kB / 0.7359 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02273/0.3932, allocations: 7.902 MB / 0.7436 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002419/0.3934, allocations: 23.81 kB / 0.7436 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001735/0.3952, allocations: 211.9 kB / 0.7438 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006082/0.3958, allocations: 369.1 kB / 0.7441 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.408/0.8039, allocations: 5.928 MB / 0.7499 GB, free: 97.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03869/0.8426, allocations: 35.95 MB / 0.785 GB, free: 66.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003134/0.8458, allocations: 2.14 MB / 0.7871 GB, free: 65.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.8474, allocations: 1.478 MB / 0.7886 GB, free: 64.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.066e-05/0.8475, allocations: 20.81 kB / 0.7886 GB, free: 64.89 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.033e-05/0.8476, allocations: 55.75 kB / 0.7887 GB, free: 64.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=157): time 3.046e-06/0.8476, allocations: 0 / 0.7887 GB, free: 64.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=160): time 0.01247/0.8601, allocations: 7.546 MB / 0.796 GB, free: 59.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.8601, allocations: 66.84 kB / 0.7961 GB, free: 59.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.8626, allocations: 1.86 MB / 0.7979 GB, free: 58.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/0.8628, allocations: 57.45 kB / 0.798 GB, free: 58.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008618/0.8637, allocations: 2.115 MB / 0.8 GB, free: 56.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/0.864, allocations: 0.568 MB / 0.8006 GB, free: 56.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/0.8645, allocations: 402.5 kB / 0.801 GB, free: 56.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.435e-05/0.8646, allocations: 305.1 kB / 0.8013 GB, free: 55.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.8658, allocations: 1.058 MB / 0.8023 GB, free: 54.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.8672, allocations: 1.76 MB / 0.804 GB, free: 52.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002683/0.8699, allocations: 3.05 MB / 0.807 GB, free: 49.42 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.8699, allocations: 4.625 kB / 0.807 GB, free: 49.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004928/0.8748, allocations: 3.925 MB / 0.8108 GB, free: 45.44 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.8749, allocations: 15.94 kB / 0.8108 GB, free: 45.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.8749, allocations: 24 kB / 0.8109 GB, free: 45.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.8769, allocations: 0.935 MB / 0.8118 GB, free: 44.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.8782, allocations: 435.2 kB / 0.8122 GB, free: 44.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01439/0.8926, allocations: 22.76 MB / 0.8344 GB, free: 19.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/0.8948, allocations: 115.9 kB / 0.8345 GB, free: 19.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.8949, allocations: 99.98 kB / 0.8346 GB, free: 19.38 MB / 0.5762 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.002414/0.8974, allocations: 1.645 MB / 0.8362 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004512/0.8978, allocations: 253.1 kB / 0.8365 GB, free: 17.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/0.9021, allocations: 3.271 MB / 0.8397 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.9021, allocations: 16 kB / 0.8397 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.9021, allocations: 8 kB / 0.8397 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.9022, allocations: 7.969 kB / 0.8397 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009685/0.9119, allocations: 7.556 MB / 0.8471 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.9119, allocations: 4 kB / 0.8471 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.9127, allocations: 219.7 kB / 0.8473 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.9146, allocations: 0.892 MB / 0.8482 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-05/0.9147, allocations: 32 kB / 0.8482 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01933/0.934, allocations: 22.72 MB / 0.8704 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.934, allocations: 7.938 kB / 0.8704 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005508/0.9396, allocations: 3.379 MB / 0.8737 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.9409, allocations: 0.533 MB / 0.8742 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.9412, allocations: 36 kB / 0.8742 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/0.9422, allocations: 91.88 kB / 0.8743 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003959/0.9426, allocations: 137.2 kB / 0.8745 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.626e-05/0.9427, allocations: 48 kB / 0.8745 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001725/0.9445, allocations: 1.225 MB / 0.8757 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9445, allocations: 0 / 0.8757 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003289/0.9478, allocations: 0.9062 MB / 0.8766 GB, free: 6.383 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003204/0.9481, allocations: 163.2 kB / 0.8767 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006704/0.9548, allocations: 4.437 MB / 0.8811 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.9548, allocations: 4 kB / 0.8811 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00424/0.9591, allocations: 2.987 MB / 0.884 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/0.9627, allocations: 0.8158 MB / 0.8848 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.9783, allocations: 7.576 MB / 0.8922 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004468/0.9828, allocations: 3.207 MB / 0.8953 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002192/0.985, allocations: 0.5332 MB / 0.8958 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/0.9856, allocations: 143.4 kB / 0.896 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of SimCode: time 1.172e-06/0.9856, allocations: 0 / 0.896 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of Templates: time 0.08012/1.066, allocations: 41.61 MB / 0.9366 GB, free: 9.211 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)