Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 101.3 kB / 16.52 MB, free: 6.699 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.001081/0.001081, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.326/1.326, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7065/0.7065, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3447, allocations: 76.16 MB / 0.5564 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02777/0.3725, allocations: 30.47 MB / 0.5861 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.3934, allocations: 13.56 MB / 0.5994 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004552/0.398, allocations: 131.4 kB / 0.5995 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007565/0.4056, allocations: 2.963 MB / 0.6024 GB, free: 3.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008271/0.4139, allocations: 2.471 MB / 0.6048 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.4193, allocations: 1.847 MB / 0.6066 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0123/0.4316, allocations: 10.43 MB / 0.6168 GB, free: 6.738 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.445, allocations: 9.053 MB / 0.6257 GB, free: 13.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/0.4506, allocations: 2.97 MB / 0.6286 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005631/0.4563, allocations: 3.43 MB / 0.6319 GB, free: 7.145 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001315/0.4576, allocations: 400 kB / 0.6323 GB, free: 6.754 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.4614, allocations: 1.536 MB / 0.6338 GB, free: 5.215 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002569/0.464, allocations: 2.159 MB / 0.6359 GB, free: 3.051 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004413/0.4684, allocations: 2.644 MB / 0.6385 GB, free: 404 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008753/0.4772, allocations: 7.947 MB / 0.6462 GB, free: 8.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4772, allocations: 0 / 0.6462 GB, free: 8.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4772, allocations: 0 / 0.6462 GB, free: 8.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0002959/0.4775, allocations: 0 / 0.6462 GB, free: 8.43 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01389/0.4914, allocations: 5.14 MB / 0.6513 GB, free: 3.211 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/0.4915, allocations: 11.97 kB / 0.6513 GB, free: 3.199 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006917/0.4984, allocations: 1.006 MB / 0.6522 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006729/0.5052, allocations: 2.892 MB / 0.6551 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.5056, allocations: 320.8 kB / 0.6554 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001566/0.5071, allocations: 420.1 kB / 0.6558 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01534/0.5225, allocations: 6.784 MB / 0.6624 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002/0.5227, allocations: 15.78 kB / 0.6624 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001225/0.524, allocations: 192 kB / 0.6626 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000934/0.5249, allocations: 368 kB / 0.663 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.5351, allocations: 5.114 MB / 0.6679 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03672/0.5718, allocations: 30.74 MB / 0.698 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.5741, allocations: 1.395 MB / 0.6993 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.576, allocations: 1.332 MB / 0.7006 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/0.5761, allocations: 13.31 kB / 0.7006 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/0.5762, allocations: 51.81 kB / 0.7007 GB, free: 13.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.006e-06/0.5762, allocations: 4 kB / 0.7007 GB, free: 13.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.08468/0.6609, allocations: 23.08 MB / 0.7232 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.661, allocations: 77.34 kB / 0.7233 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/0.6649, allocations: 2.066 MB / 0.7253 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003977/0.6653, allocations: 61.7 kB / 0.7254 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001527/0.6669, allocations: 1.998 MB / 0.7273 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009292/0.6678, allocations: 0.6816 MB / 0.728 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.6689, allocations: 408.2 kB / 0.7284 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.669, allocations: 305.1 kB / 0.7287 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002353/0.6714, allocations: 1.433 MB / 0.7301 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/0.6741, allocations: 2.013 MB / 0.7321 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005051/0.6792, allocations: 3.696 MB / 0.7357 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.6792, allocations: 4 kB / 0.7357 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01156/0.6908, allocations: 5.664 MB / 0.7412 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.6909, allocations: 12 kB / 0.7412 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.6909, allocations: 16.84 kB / 0.7412 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007122/0.698, allocations: 2.079 MB / 0.7433 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.6997, allocations: 379.4 kB / 0.7436 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2956/0.9954, allocations: 35.49 MB / 0.7783 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.9978, allocations: 126.5 kB / 0.7784 GB, free: 129.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.998, allocations: 91.7 kB / 0.7785 GB, free: 129 MB / 0.5762 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.002595/1.001, allocations: 1.504 MB / 0.78 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005905/1.001, allocations: 286.2 kB / 0.7802 GB, free: 128.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.012, allocations: 5.223 MB / 0.7853 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/1.012, allocations: 19.78 kB / 0.7853 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/1.012, allocations: 16.97 kB / 0.7854 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.41e-05/1.012, allocations: 14.39 kB / 0.7854 GB, free: 126.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.032, allocations: 9.674 MB / 0.7948 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.573e-05/1.032, allocations: 6.188 kB / 0.7948 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009081/1.033, allocations: 210.3 kB / 0.795 GB, free: 122.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00598/1.039, allocations: 1.847 MB / 0.7968 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002263/1.039, allocations: 38.62 kB / 0.7969 GB, free: 121.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02684/1.066, allocations: 34.51 MB / 0.8306 GB, free: 92.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.066, allocations: 6.188 kB / 0.8306 GB, free: 92.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008152/1.074, allocations: 4.925 MB / 0.8354 GB, free: 87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001423/1.075, allocations: 0.6109 MB / 0.836 GB, free: 86.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007298/1.076, allocations: 47.98 kB / 0.836 GB, free: 86.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/1.078, allocations: 123.8 kB / 0.8361 GB, free: 86.2 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006162/1.079, allocations: 189.7 kB / 0.8363 GB, free: 86.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.079, allocations: 56 kB / 0.8364 GB, free: 85.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002061/1.081, allocations: 1.378 MB / 0.8377 GB, free: 84.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0 / 0.8377 GB, free: 84.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003835/1.085, allocations: 1.055 MB / 0.8388 GB, free: 83.52 MB / 0.5762 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003603/1.085, allocations: 170.7 kB / 0.8389 GB, free: 83.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008354/1.093, allocations: 6.269 MB / 0.845 GB, free: 76.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.093, allocations: 12.05 kB / 0.8451 GB, free: 76.85 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005496/1.099, allocations: 4.38 MB / 0.8493 GB, free: 72.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004859/1.104, allocations: 0.9163 MB / 0.8502 GB, free: 71.37 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0151/1.119, allocations: 10.61 MB / 0.8606 GB, free: 60.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003796/1.123, allocations: 3.186 MB / 0.8637 GB, free: 57.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/1.123, allocations: 160 kB / 0.8638 GB, free: 57.34 MB / 0.5762 GB Notification: Performance of SimCode: time 1.903e-06/1.123, allocations: 0 / 0.8638 GB, free: 57.34 MB / 0.5762 GB Notification: Performance of Templates: time 0.8632/1.987, allocations: 464.6 MB / 1.318 GB, free: 171.8 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)