Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001416, allocations: 107.6 kB / 16.64 MB, free: 6.816 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.001388/0.001388, allocations: 186 kB / 17.57 MB, free: 5.934 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.385/1.385, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7927/0.7927, allocations: 125.4 MB / 416.7 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 0.4943 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3697, allocations: 78.56 MB / 0.571 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03033/0.4, allocations: 34.5 MB / 0.6047 GB, free: 5.109 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01839/0.4185, allocations: 11.39 MB / 0.6158 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003898/0.4224, allocations: 143.2 kB / 0.616 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01091/0.4334, allocations: 4 MB / 0.6199 GB, free: 5.586 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006303/0.4397, allocations: 1.829 MB / 0.6217 GB, free: 3.762 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00656/0.4463, allocations: 2.185 MB / 0.6238 GB, free: 1.59 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01195/0.4583, allocations: 8.498 MB / 0.6321 GB, free: 9.074 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02189/0.4802, allocations: 13.43 MB / 0.6452 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00699/0.4872, allocations: 3.789 MB / 0.6489 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00754/0.4948, allocations: 4.389 MB / 0.6532 GB, free: 3.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002316/0.4972, allocations: 0.7852 MB / 0.654 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/0.5023, allocations: 2.028 MB / 0.656 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004993/0.5074, allocations: 3.061 MB / 0.6589 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.006486/0.5139, allocations: 3.393 MB / 0.6623 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/0.5269, allocations: 10.26 MB / 0.6723 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.527, allocations: 0 / 0.6723 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.527, allocations: 0 / 0.6723 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0003595/0.5273, allocations: 4 kB / 0.6723 GB, free: 15.77 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01506/0.5424, allocations: 5.791 MB / 0.6779 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5425, allocations: 8.031 kB / 0.6779 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00682/0.5493, allocations: 1.064 MB / 0.679 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007157/0.5565, allocations: 3.262 MB / 0.6822 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004355/0.557, allocations: 415.5 kB / 0.6826 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001867/0.5588, allocations: 0.547 MB / 0.6831 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.5791, allocations: 9.071 MB / 0.692 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001915/0.5793, allocations: 27.72 kB / 0.692 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008697/0.5802, allocations: 240 kB / 0.6922 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004291/0.5806, allocations: 350.8 kB / 0.6925 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.5949, allocations: 6.826 MB / 0.6992 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0507/0.6456, allocations: 40.11 MB / 0.7384 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.65, allocations: 3.11 MB / 0.7414 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002896/0.6529, allocations: 1.982 MB / 0.7433 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.6531, allocations: 18 kB / 0.7434 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.6531, allocations: 52.56 kB / 0.7434 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=179): time 5.44e-06/0.6531, allocations: 0 / 0.7434 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=182): time 0.317/0.9701, allocations: 9.978 MB / 0.7532 GB, free: 149.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.9702, allocations: 70.41 kB / 0.7532 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.9725, allocations: 1.53 MB / 0.7547 GB, free: 148.8 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002645/0.9728, allocations: 56.36 kB / 0.7548 GB, free: 148.7 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.9741, allocations: 2.254 MB / 0.757 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/0.9747, allocations: 0.6284 MB / 0.7576 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/0.9753, allocations: 407.3 kB / 0.758 GB, free: 146.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.9754, allocations: 305.1 kB / 0.7583 GB, free: 146.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.9769, allocations: 1.179 MB / 0.7594 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.9787, allocations: 1.882 MB / 0.7613 GB, free: 144.3 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/0.9822, allocations: 3.377 MB / 0.7646 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.9823, allocations: 3.969 kB / 0.7646 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007182/0.9895, allocations: 4.583 MB / 0.769 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.9895, allocations: 16.16 kB / 0.7691 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.9896, allocations: 22.88 kB / 0.7691 GB, free: 140.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003641/0.9932, allocations: 1.587 MB / 0.7706 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.9945, allocations: 356.3 kB / 0.771 GB, free: 140 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/1.013, allocations: 18.59 MB / 0.7891 GB, free: 126.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.015, allocations: 116 kB / 0.7892 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/1.015, allocations: 101.7 kB / 0.7893 GB, free: 126.6 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002778/1.018, allocations: 1.897 MB / 0.7912 GB, free: 125.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004889/1.018, allocations: 232.5 kB / 0.7914 GB, free: 124.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005519/1.024, allocations: 4.097 MB / 0.7954 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/1.024, allocations: 16 kB / 0.7954 GB, free: 120.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/1.024, allocations: 16 kB / 0.7954 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/1.024, allocations: 11.95 kB / 0.7954 GB, free: 120.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/1.037, allocations: 9.462 MB / 0.8047 GB, free: 111.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.037, allocations: 7.938 kB / 0.8047 GB, free: 111 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/1.037, allocations: 183.7 kB / 0.8049 GB, free: 110.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/1.04, allocations: 1.364 MB / 0.8062 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/1.041, allocations: 36 kB / 0.8062 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/1.057, allocations: 17.37 MB / 0.8232 GB, free: 91.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/1.057, allocations: 11.94 kB / 0.8232 GB, free: 91.53 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005676/1.062, allocations: 4.065 MB / 0.8272 GB, free: 87.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/1.064, allocations: 0.5273 MB / 0.8277 GB, free: 86.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003286/1.064, allocations: 39.94 kB / 0.8277 GB, free: 86.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009019/1.065, allocations: 87.89 kB / 0.8278 GB, free: 86.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004353/1.065, allocations: 161.7 kB / 0.828 GB, free: 86.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.637e-05/1.065, allocations: 48 kB / 0.828 GB, free: 86.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001087/1.066, allocations: 1.005 MB / 0.829 GB, free: 85.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.066, allocations: 0 / 0.829 GB, free: 85.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003139/1.07, allocations: 0.9883 MB / 0.83 GB, free: 84.48 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002692/1.07, allocations: 147.1 kB / 0.8301 GB, free: 84.33 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.007061/1.077, allocations: 5.191 MB / 0.8352 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.077, allocations: 0 / 0.8352 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003486/1.08, allocations: 2.672 MB / 0.8378 GB, free: 76.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/1.084, allocations: 0.7761 MB / 0.8385 GB, free: 75.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01433/1.098, allocations: 11.8 MB / 0.8501 GB, free: 63.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003393/1.102, allocations: 3.662 MB / 0.8536 GB, free: 60.11 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/1.102, allocations: 131.4 kB / 0.8538 GB, free: 59.98 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.102, allocations: 0 / 0.8538 GB, free: 59.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.442/1.544, allocations: 159.4 MB / 1.009 GB, free: 211.3 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)