Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 112.2 kB / 17.04 MB, free: 6.082 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.001173/0.001173, allocations: 195 kB / 17.98 MB, free: 5.16 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.353/1.353, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7226/0.7226, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.91 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3817, allocations: 76.14 MB / 0.5576 GB, free: 36.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03259/0.4144, allocations: 32.59 MB / 0.5894 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01774/0.4322, allocations: 10.26 MB / 0.5994 GB, free: 7.434 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003541/0.4358, allocations: 150.3 kB / 0.5996 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008746/0.4446, allocations: 3.726 MB / 0.6032 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.4501, allocations: 1.854 MB / 0.605 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005869/0.456, allocations: 2.132 MB / 0.6071 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008778/0.4648, allocations: 7.328 MB / 0.6143 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/0.4777, allocations: 9.412 MB / 0.6234 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005754/0.4835, allocations: 3.17 MB / 0.6265 GB, free: 13.74 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006404/0.4899, allocations: 3.485 MB / 0.6299 GB, free: 10.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002273/0.4922, allocations: 0.6484 MB / 0.6306 GB, free: 9.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004835/0.4971, allocations: 1.767 MB / 0.6323 GB, free: 7.828 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003824/0.5009, allocations: 2.546 MB / 0.6348 GB, free: 5.277 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005274/0.5062, allocations: 2.898 MB / 0.6376 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.5194, allocations: 10.11 MB / 0.6475 GB, free: 8.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.5195, allocations: 0 / 0.6475 GB, free: 8.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.5195, allocations: 0 / 0.6475 GB, free: 8.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0004582/0.52, allocations: 3.938 kB / 0.6475 GB, free: 8.227 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01418/0.5342, allocations: 5.006 MB / 0.6524 GB, free: 3.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.5342, allocations: 8.031 kB / 0.6524 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00619/0.5404, allocations: 0.9473 MB / 0.6533 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006759/0.5472, allocations: 3.046 MB / 0.6563 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.5475, allocations: 349.7 kB / 0.6566 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.5491, allocations: 464.2 kB / 0.6571 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/0.5664, allocations: 7.659 MB / 0.6645 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002523/0.5667, allocations: 31.77 kB / 0.6646 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001264/0.568, allocations: 200 kB / 0.6648 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003835/0.5684, allocations: 312.9 kB / 0.6651 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.5796, allocations: 5.714 MB / 0.6706 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03745/0.617, allocations: 34.83 MB / 0.7047 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.6199, allocations: 2.164 MB / 0.7068 GB, free: 7.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001749/0.6217, allocations: 1.257 MB / 0.708 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.6219, allocations: 17.31 kB / 0.708 GB, free: 6.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.6219, allocations: 43.88 kB / 0.7081 GB, free: 6.359 MB / 0.545 GB Notification: Performance of pre-optimization done (n=133): time 3.617e-06/0.6219, allocations: 4 kB / 0.7081 GB, free: 6.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=136): time 0.01426/0.6362, allocations: 7.084 MB / 0.715 GB, free: 15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.6363, allocations: 64.72 kB / 0.715 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.6385, allocations: 1.492 MB / 0.7165 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.6387, allocations: 49.64 kB / 0.7165 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.6399, allocations: 2.004 MB / 0.7185 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/0.6404, allocations: 489 kB / 0.719 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005818/0.641, allocations: 351.1 kB / 0.7193 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.816e-05/0.6411, allocations: 301.1 kB / 0.7196 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.6425, allocations: 0.9213 MB / 0.7205 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.6442, allocations: 1.589 MB / 0.722 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.6476, allocations: 2.737 MB / 0.7247 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.6477, allocations: 4 kB / 0.7247 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006277/0.6539, allocations: 3.538 MB / 0.7282 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.654, allocations: 12 kB / 0.7282 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.155e-05/0.654, allocations: 24 kB / 0.7282 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/0.6567, allocations: 0.8961 MB / 0.7291 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.658, allocations: 355.3 kB / 0.7294 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2771/0.9351, allocations: 23.1 MB / 0.752 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.9368, allocations: 100.6 kB / 0.7521 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/0.937, allocations: 89.19 kB / 0.7522 GB, free: 148.7 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 (185): * 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: 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002825/0.9398, allocations: 1.613 MB / 0.7537 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/0.9403, allocations: 203.7 kB / 0.7539 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/0.9459, allocations: 2.986 MB / 0.7568 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.9459, allocations: 14.5 kB / 0.7569 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/0.9459, allocations: 11.03 kB / 0.7569 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.946, allocations: 6.75 kB / 0.7569 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.9596, allocations: 7.341 MB / 0.764 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.9596, allocations: 5.75 kB / 0.7641 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008236/0.9604, allocations: 175.6 kB / 0.7642 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002496/0.963, allocations: 0.8239 MB / 0.765 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.9631, allocations: 30.53 kB / 0.7651 GB, free: 143.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/0.9799, allocations: 21.94 MB / 0.7865 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/0.9799, allocations: 12.47 kB / 0.7865 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005214/0.9851, allocations: 3.024 MB / 0.7894 GB, free: 123 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.9863, allocations: 460.8 kB / 0.7899 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/0.9868, allocations: 29 kB / 0.7899 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009914/0.9878, allocations: 72.73 kB / 0.79 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003986/0.9882, allocations: 126.2 kB / 0.7901 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/0.9884, allocations: 40.19 kB / 0.7901 GB, free: 122.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001411/0.9898, allocations: 0.9763 MB / 0.7911 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9898, allocations: 0 / 0.7911 GB, free: 122.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003398/0.9932, allocations: 0.7849 MB / 0.7919 GB, free: 122.3 MB / 0.5762 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003078/0.9935, allocations: 154 kB / 0.792 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00541/0.999, allocations: 4.02 MB / 0.7959 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/0.999, allocations: 1.406 kB / 0.7959 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003229/1.002, allocations: 2.737 MB / 0.7986 GB, free: 118 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003545/1.006, allocations: 0.7287 MB / 0.7993 GB, free: 117.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.018, allocations: 7.113 MB / 0.8063 GB, free: 114.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003599/1.021, allocations: 3.112 MB / 0.8093 GB, free: 112.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00134/1.023, allocations: 454.7 kB / 0.8097 GB, free: 112.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/1.023, allocations: 115.4 kB / 0.8098 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.023, allocations: 0 / 0.8098 GB, free: 112.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.06159/1.085, allocations: 35.68 MB / 0.8447 GB, free: 77.12 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)