Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001271/0.001271, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.348/1.348, allocations: 222.9 MB / 241.7 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.8808/0.8808, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 71.31 kB / 0.5584 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1421, allocations: 76.18 MB / 0.6328 GB, free: 4.492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03901/0.1812, allocations: 33.3 MB / 0.6653 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.2055, allocations: 14.82 MB / 0.6797 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.2092, allocations: 155.2 kB / 0.6799 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009897/0.2191, allocations: 3.663 MB / 0.6835 GB, free: 392 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009022/0.2282, allocations: 2.882 MB / 0.6863 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006712/0.2349, allocations: 2.333 MB / 0.6886 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01145/0.2464, allocations: 8.823 MB / 0.6972 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01495/0.2614, allocations: 9.566 MB / 0.7065 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007375/0.2688, allocations: 4.012 MB / 0.7104 GB, free: 4.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007091/0.2759, allocations: 4.038 MB / 0.7144 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.2783, allocations: 0.7149 MB / 0.7151 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004951/0.2833, allocations: 1.72 MB / 0.7168 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004798/0.2881, allocations: 2.83 MB / 0.7195 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.007555/0.2957, allocations: 3.388 MB / 0.7228 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.3106, allocations: 11.19 MB / 0.7338 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3106, allocations: 0 / 0.7338 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.674e-06/0.3106, allocations: 0 / 0.7338 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003796/0.311, allocations: 0 / 0.7338 GB, free: 12.64 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01675/0.3278, allocations: 5.979 MB / 0.7396 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3278, allocations: 8.031 kB / 0.7396 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008043/0.3359, allocations: 1.142 MB / 0.7407 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008094/0.344, allocations: 3.52 MB / 0.7442 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003724/0.3444, allocations: 378.4 kB / 0.7445 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00181/0.3463, allocations: 500 kB / 0.745 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3504/0.6967, allocations: 8.004 MB / 0.7528 GB, free: 95.59 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002124/0.697, allocations: 17.42 kB / 0.7528 GB, free: 95.58 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001053/0.698, allocations: 221.1 kB / 0.753 GB, free: 95.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001145/0.6992, allocations: 438.5 kB / 0.7535 GB, free: 95.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/0.7128, allocations: 6.082 MB / 0.7594 GB, free: 93.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03075/0.7436, allocations: 34.89 MB / 0.7935 GB, free: 62.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.7458, allocations: 2.031 MB / 0.7955 GB, free: 61.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.7477, allocations: 1.871 MB / 0.7973 GB, free: 60.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.942e-05/0.7478, allocations: 16.38 kB / 0.7973 GB, free: 60.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.7478, allocations: 67.31 kB / 0.7974 GB, free: 60.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 3.497e-06/0.7479, allocations: 1.5 kB / 0.7974 GB, free: 60.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.1368/0.8846, allocations: 38.88 MB / 0.8353 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.8847, allocations: 89.5 kB / 0.8354 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.8875, allocations: 2.278 MB / 0.8376 GB, free: 19.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004398/0.8879, allocations: 73.7 kB / 0.8377 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009308/0.8888, allocations: 2.28 MB / 0.8399 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007004/0.8896, allocations: 0.926 MB / 0.8408 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007813/0.8903, allocations: 0.51 MB / 0.8413 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.8904, allocations: 313 kB / 0.8416 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.8926, allocations: 1.973 MB / 0.8436 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/0.8952, allocations: 2.602 MB / 0.8461 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005365/0.9005, allocations: 4.925 MB / 0.8509 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.9006, allocations: 11.98 kB / 0.8509 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01263/0.9132, allocations: 7.755 MB / 0.8585 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.9133, allocations: 12 kB / 0.8585 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/0.9133, allocations: 16 kB / 0.8585 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008953/0.9223, allocations: 3.212 MB / 0.8617 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.9241, allocations: 408.1 kB / 0.8621 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04356/0.9677, allocations: 33.88 MB / 0.8951 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/0.9708, allocations: 159.8 kB / 0.8953 GB, free: 7.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/0.9711, allocations: 108 kB / 0.8954 GB, free: 7.227 MB / 0.6231 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002987/0.9741, allocations: 1.797 MB / 0.8971 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006703/0.9748, allocations: 336.1 kB / 0.8975 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.9884, allocations: 7.353 MB / 0.9047 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/0.9885, allocations: 28 kB / 0.9047 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.835e-05/0.9886, allocations: 32 kB / 0.9047 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.515e-05/0.9886, allocations: 15.94 kB / 0.9047 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02267/1.011, allocations: 12.93 MB / 0.9173 GB, free: 0.5195 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.976e-05/1.011, allocations: 4 kB / 0.9174 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009596/1.012, allocations: 235.7 kB / 0.9176 GB, free: 292 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007932/1.02, allocations: 2.843 MB / 0.9204 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003252/1.021, allocations: 56 kB / 0.9204 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04171/1.062, allocations: 32.68 MB / 0.9523 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/1.062, allocations: 11.94 kB / 0.9523 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/1.075, allocations: 6.879 MB / 0.959 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/1.077, allocations: 0.7783 MB / 0.9598 GB, free: 3.949 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006746/1.077, allocations: 51.94 kB / 0.9599 GB, free: 3.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001955/1.079, allocations: 179.7 kB / 0.96 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000861/1.08, allocations: 249.5 kB / 0.9603 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/1.08, allocations: 76 kB / 0.9603 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002123/1.083, allocations: 1.525 MB / 0.9618 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/1.083, allocations: 0 / 0.9618 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004082/1.087, allocations: 1.367 MB / 0.9632 GB, free: 0.5078 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003756/1.087, allocations: 179.6 kB / 0.9633 GB, free: 332 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.099, allocations: 6.928 MB / 0.9701 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.099, allocations: 0 / 0.9701 GB, free: 9.312 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007824/1.106, allocations: 4.426 MB / 0.9744 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004985/1.111, allocations: 1.106 MB / 0.9755 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01841/1.13, allocations: 10.78 MB / 0.986 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005088/1.135, allocations: 3.749 MB / 0.9897 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007456/1.136, allocations: 171.4 kB / 0.9899 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of SimCode: time 8.42e-07/1.136, allocations: 0 / 0.9899 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of Templates: time 0.508/1.644, allocations: 227.6 MB / 1.212 GB, free: 81.5 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)