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.001191/0.001191, allocations: 92.16 kB / 15.71 MB, free: 452 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.001936/0.001936, allocations: 179.5 kB / 16.58 MB, free: 6.855 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.566/1.566, allocations: 223.3 MB / 240.6 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6916/0.6916, allocations: 115.5 MB / 407.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003587, allocations: 8 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 77.52 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.3067/0.464, allocations: 32 MB / 0.5906 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.4782, allocations: 9.482 MB / 0.5998 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003161/0.4814, allocations: 122.7 kB / 0.6 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.4836, allocations: 0.6863 MB / 0.6006 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006288/0.4899, allocations: 1.638 MB / 0.6022 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004998/0.4949, allocations: 1.153 MB / 0.6034 GB, free: 12.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01203/0.507, allocations: 8.847 MB / 0.612 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0165/0.5235, allocations: 10.41 MB / 0.6222 GB, free: 3.488 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004509/0.528, allocations: 2.437 MB / 0.6245 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005226/0.5333, allocations: 3.118 MB / 0.6276 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.5345, allocations: 281.8 kB / 0.6279 GB, free: 0.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.5376, allocations: 0.6458 MB / 0.6285 GB, free: 316 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003318/0.5409, allocations: 2.092 MB / 0.6305 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.5434, allocations: 1.03 MB / 0.6315 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009634/0.5531, allocations: 8.559 MB / 0.6399 GB, free: 4.793 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5531, allocations: 0 / 0.6399 GB, free: 4.793 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5531, allocations: 0 / 0.6399 GB, free: 4.793 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.00035/0.5535, allocations: 0 / 0.6399 GB, free: 4.793 MB / 462.1 MB 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.009972/0.5635, allocations: 4.41 MB / 0.6442 GB, free: 320 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.5635, allocations: 8.031 kB / 0.6442 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005491/0.569, allocations: 0.9617 MB / 0.6452 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005919/0.575, allocations: 2.929 MB / 0.648 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.5753, allocations: 365.5 kB / 0.6484 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.5766, allocations: 467.9 kB / 0.6488 GB, free: 11.54 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01628/0.5929, allocations: 7.863 MB / 0.6565 GB, free: 3.309 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.5931, allocations: 19.88 kB / 0.6565 GB, free: 3.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007349/0.5938, allocations: 208 kB / 0.6567 GB, free: 3.086 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004957/0.5943, allocations: 365.1 kB / 0.6571 GB, free: 2.727 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.6057, allocations: 5.894 MB / 0.6628 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04713/0.6528, allocations: 36.26 MB / 0.6982 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.6565, allocations: 2.123 MB / 0.7003 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00208/0.6586, allocations: 1.484 MB / 0.7017 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.6588, allocations: 17.31 kB / 0.7018 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.6588, allocations: 51.88 kB / 0.7018 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=157): time 3.466e-06/0.6588, allocations: 3.938 kB / 0.7018 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.01511/0.674, allocations: 7.548 MB / 0.7092 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.6741, allocations: 72.67 kB / 0.7093 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/0.6771, allocations: 1.841 MB / 0.711 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.6773, allocations: 57.7 kB / 0.7111 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.6789, allocations: 2.123 MB / 0.7132 GB, free: 5.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006176/0.6795, allocations: 0.5546 MB / 0.7137 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001523/0.6797, allocations: 48 kB / 0.7138 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.6799, allocations: 390.3 kB / 0.7141 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.6817, allocations: 1.055 MB / 0.7152 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.6838, allocations: 1.748 MB / 0.7169 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.686, allocations: 1.353 MB / 0.7182 GB, free: 168 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.055e-05/0.686, allocations: 8 kB / 0.7182 GB, free: 160 kB / 0.5294 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007594/0.6936, allocations: 3.898 MB / 0.722 GB, free: 12.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/0.6937, allocations: 21.67 kB / 0.722 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/0.6938, allocations: 24.09 kB / 0.7221 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002486/0.6962, allocations: 0.9272 MB / 0.723 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.6978, allocations: 431.2 kB / 0.7234 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/0.7191, allocations: 21.05 MB / 0.7439 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.7212, allocations: 123.9 kB / 0.744 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003489/0.7215, allocations: 95.98 kB / 0.7441 GB, free: 3.918 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003186/0.7247, allocations: 1.649 MB / 0.7457 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006645/0.7254, allocations: 253.1 kB / 0.746 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006011/0.7314, allocations: 3.248 MB / 0.7492 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.7315, allocations: 16 kB / 0.7492 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.952e-05/0.7315, allocations: 12 kB / 0.7492 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.7315, allocations: 7.969 kB / 0.7492 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.7449, allocations: 7.549 MB / 0.7566 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7449, allocations: 12.08 kB / 0.7566 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008634/0.7458, allocations: 215.7 kB / 0.7568 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002288/0.7481, allocations: 0.8997 MB / 0.7577 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.7482, allocations: 28 kB / 0.7577 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/0.7683, allocations: 20.99 MB / 0.7782 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.305e-05/0.7683, allocations: 11.94 kB / 0.7782 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006046/0.7744, allocations: 3.368 MB / 0.7815 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.776, allocations: 0.5331 MB / 0.782 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006802/0.7767, allocations: 32 kB / 0.782 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.778, allocations: 95.88 kB / 0.7821 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.7784, allocations: 141 kB / 0.7823 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/0.7785, allocations: 44 kB / 0.7823 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001964/0.7805, allocations: 1.205 MB / 0.7835 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7805, allocations: 0 / 0.7835 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003081/0.7836, allocations: 0.9102 MB / 0.7844 GB, free: 8.699 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 (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003075/0.7839, allocations: 165 kB / 0.7845 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006234/0.7901, allocations: 4.405 MB / 0.7888 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.7901, allocations: 0 / 0.7888 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004045/0.7942, allocations: 2.992 MB / 0.7918 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/0.7977, allocations: 0.7763 MB / 0.7925 GB, free: 44 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.8126, allocations: 9.238 MB / 0.8015 GB, free: 6.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/0.8164, allocations: 3.209 MB / 0.8047 GB, free: 3.488 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00227/0.8187, allocations: 0.5332 MB / 0.8052 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.819, allocations: 139.4 kB / 0.8053 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of SimCode: time 1.202e-06/0.819, allocations: 0 / 0.8053 GB, free: 2.812 MB / 0.6231 GB Notification: Performance of Templates: time 0.3761/1.195, allocations: 39.74 MB / 0.8441 GB, free: 201.4 MB / 0.6387 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)