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.00131/0.00131, allocations: 104.1 kB / 16.52 MB, free: 6.266 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.001281/0.001281, allocations: 197 kB / 17.44 MB, free: 5.887 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.465/1.465, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7373/0.7373, allocations: 115.3 MB / 406.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 67.84 kB / 493.6 MB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3755, allocations: 76.17 MB / 0.5564 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03256/0.4081, allocations: 34.79 MB / 0.5904 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01709/0.4253, allocations: 9.918 MB / 0.6 GB, free: 5.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004887/0.4302, allocations: 130.6 kB / 0.6002 GB, free: 5.695 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009002/0.4392, allocations: 3.548 MB / 0.6036 GB, free: 3.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006698/0.446, allocations: 1.916 MB / 0.6055 GB, free: 1.453 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005413/0.4514, allocations: 1.784 MB / 0.6072 GB, free: 24 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01401/0.4654, allocations: 11.2 MB / 0.6182 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01713/0.4826, allocations: 10.7 MB / 0.6286 GB, free: 10.49 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005891/0.4885, allocations: 2.876 MB / 0.6314 GB, free: 7.602 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006702/0.4952, allocations: 3.797 MB / 0.6351 GB, free: 3.793 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002241/0.4975, allocations: 468 kB / 0.6356 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004643/0.5022, allocations: 1.447 MB / 0.637 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004214/0.5064, allocations: 2.393 MB / 0.6393 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007457/0.5139, allocations: 2.858 MB / 0.6421 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.011/0.5249, allocations: 8.781 MB / 0.6507 GB, free: 3.816 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.025e-05/0.525, allocations: 8 kB / 0.6507 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.525, allocations: 0 / 0.6507 GB, free: 3.809 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003729/0.5254, allocations: 0 / 0.6507 GB, free: 3.809 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01477/0.5401, allocations: 5.397 MB / 0.656 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.5402, allocations: 15.97 kB / 0.656 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005779/0.546, allocations: 0.9626 MB / 0.6569 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006524/0.5525, allocations: 2.991 MB / 0.6599 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003542/0.5529, allocations: 361.9 kB / 0.6602 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001684/0.5546, allocations: 472.3 kB / 0.6607 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01824/0.5729, allocations: 7.906 MB / 0.6684 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/0.5731, allocations: 23.78 kB / 0.6684 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001431/0.5746, allocations: 204 kB / 0.6686 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005317/0.5751, allocations: 369.1 kB / 0.6689 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.5872, allocations: 5.937 MB / 0.6747 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03965/0.6269, allocations: 36.22 MB / 0.7101 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/0.6302, allocations: 2.134 MB / 0.7122 GB, free: 1.074 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001924/0.6322, allocations: 1.481 MB / 0.7136 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.6323, allocations: 17.31 kB / 0.7137 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.569e-05/0.6324, allocations: 59.81 kB / 0.7137 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=157): time 3.296e-06/0.6324, allocations: 0 / 0.7137 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=160): time 0.01419/0.6466, allocations: 7.536 MB / 0.7211 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.6467, allocations: 68.72 kB / 0.7211 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.6497, allocations: 1.864 MB / 0.723 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.6499, allocations: 53.7 kB / 0.723 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/0.6513, allocations: 2.115 MB / 0.7251 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005339/0.6518, allocations: 0.5623 MB / 0.7256 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006966/0.6526, allocations: 403.7 kB / 0.726 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6527, allocations: 305.1 kB / 0.7263 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.6543, allocations: 1.062 MB / 0.7273 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.6564, allocations: 1.76 MB / 0.7291 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003863/0.6602, allocations: 3.049 MB / 0.732 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/0.6603, allocations: 8 kB / 0.732 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006669/0.6669, allocations: 3.933 MB / 0.7359 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.667, allocations: 16 kB / 0.7359 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.667, allocations: 20 kB / 0.7359 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/0.6696, allocations: 0.9274 MB / 0.7368 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/0.6712, allocations: 431.2 kB / 0.7372 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3077/0.9789, allocations: 21.04 MB / 0.7578 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.9811, allocations: 123.8 kB / 0.7579 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.9814, allocations: 94.42 kB / 0.758 GB, free: 143.4 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.003021/0.9844, allocations: 1.65 MB / 0.7596 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005981/0.985, allocations: 256.9 kB / 0.7598 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005439/0.9904, allocations: 3.259 MB / 0.763 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/0.9905, allocations: 16.19 kB / 0.763 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.388e-05/0.9905, allocations: 13.61 kB / 0.7631 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.9905, allocations: 8.422 kB / 0.7631 GB, free: 141.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/1.003, allocations: 7.565 MB / 0.7705 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/1.003, allocations: 4.781 kB / 0.7705 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009218/1.004, allocations: 215.2 kB / 0.7707 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002443/1.007, allocations: 0.8898 MB / 0.7715 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001564/1.007, allocations: 31.84 kB / 0.7716 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01636/1.023, allocations: 21.02 MB / 0.7921 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.023, allocations: 5.438 kB / 0.7921 GB, free: 120.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005638/1.029, allocations: 3.387 MB / 0.7954 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.03, allocations: 0.5289 MB / 0.7959 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004428/1.031, allocations: 38.56 kB / 0.796 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.032, allocations: 89.48 kB / 0.796 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004236/1.032, allocations: 143.5 kB / 0.7962 GB, free: 118.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.032, allocations: 53.86 kB / 0.7962 GB, free: 118.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001757/1.034, allocations: 1.223 MB / 0.7974 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.034, allocations: 0 / 0.7974 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003451/1.038, allocations: 0.9067 MB / 0.7983 GB, free: 117.7 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002829/1.038, allocations: 155.9 kB / 0.7985 GB, free: 117.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005481/1.043, allocations: 4.414 MB / 0.8028 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.043, allocations: 0 / 0.8028 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003467/1.047, allocations: 2.992 MB / 0.8057 GB, free: 113.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004019/1.051, allocations: 0.7599 MB / 0.8064 GB, free: 112.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.064, allocations: 10.35 MB / 0.8165 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/1.067, allocations: 3.275 MB / 0.8197 GB, free: 101.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000692/1.067, allocations: 155.4 kB / 0.8199 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/1.067, allocations: 0 / 0.8199 GB, free: 101.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.4941/1.561, allocations: 339.6 MB / 1.152 GB, free: 61.86 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)