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.0009176/0.000918, allocations: 98.58 kB / 16.02 MB, free: 80 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.0009979/0.0009979, allocations: 181.8 kB / 16.92 MB, free: 6.688 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.579/1.579, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8248/0.8248, allocations: 126.9 MB / 418.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 12 kB / 0.498 GB, free: 9.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5416, allocations: 80.23 MB / 0.5763 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03688/0.5785, allocations: 29.7 MB / 0.6053 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02492/0.6035, allocations: 13.4 MB / 0.6184 GB, free: 9.254 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003793/0.6073, allocations: 127.2 kB / 0.6185 GB, free: 9.203 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00286/0.6102, allocations: 0.6589 MB / 0.6192 GB, free: 8.629 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.6205, allocations: 2.47 MB / 0.6216 GB, free: 6.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007657/0.6282, allocations: 1.713 MB / 0.6233 GB, free: 5.277 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01743/0.6457, allocations: 10.44 MB / 0.6335 GB, free: 12.82 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02019/0.6659, allocations: 10.18 MB / 0.6434 GB, free: 2.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007063/0.673, allocations: 2.576 MB / 0.6459 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006834/0.6799, allocations: 2.954 MB / 0.6488 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.6812, allocations: 244 kB / 0.649 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004854/0.6861, allocations: 1.376 MB / 0.6504 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003381/0.6895, allocations: 1.925 MB / 0.6523 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005319/0.6948, allocations: 2.384 MB / 0.6546 GB, free: 7.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.7068, allocations: 9.013 MB / 0.6634 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.7068, allocations: 0 / 0.6634 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7068, allocations: 0 / 0.6634 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002844/0.7071, allocations: 4 kB / 0.6634 GB, free: 13.97 MB / 0.4981 GB 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.01041/0.7175, allocations: 4.154 MB / 0.6675 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.7176, allocations: 8.031 kB / 0.6675 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006722/0.7243, allocations: 1.01 MB / 0.6685 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006533/0.7309, allocations: 2.888 MB / 0.6713 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/0.7312, allocations: 312.8 kB / 0.6716 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/0.7323, allocations: 424 kB / 0.672 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.7461, allocations: 6.799 MB / 0.6786 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.7463, allocations: 15.84 kB / 0.6786 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004897/0.7468, allocations: 180 kB / 0.6788 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009436/0.7477, allocations: 368 kB / 0.6792 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.7584, allocations: 5.118 MB / 0.6842 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04095/0.7994, allocations: 30.79 MB / 0.7142 GB, free: 6.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.8018, allocations: 1.383 MB / 0.7156 GB, free: 5.281 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.8037, allocations: 1.332 MB / 0.7169 GB, free: 3.953 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.765e-05/0.8038, allocations: 25.22 kB / 0.7169 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.8039, allocations: 47.88 kB / 0.717 GB, free: 3.875 MB / 0.545 GB Notification: Performance of pre-optimization done (n=130): time 3.556e-06/0.8039, allocations: 0 / 0.717 GB, free: 3.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=199): time 0.09335/0.8973, allocations: 22.81 MB / 0.7392 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/0.8974, allocations: 73.41 kB / 0.7393 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/0.9011, allocations: 2.055 MB / 0.7413 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000393/0.9015, allocations: 57.7 kB / 0.7414 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001808/0.9034, allocations: 2.014 MB / 0.7433 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007516/0.9041, allocations: 0.6739 MB / 0.744 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.9045, allocations: 186.3 kB / 0.7442 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9046, allocations: 309.1 kB / 0.7445 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/0.907, allocations: 1.426 MB / 0.7458 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/0.9099, allocations: 2.013 MB / 0.7478 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005546/0.9154, allocations: 3.696 MB / 0.7514 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.9155, allocations: 4 kB / 0.7514 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01239/0.9279, allocations: 5.657 MB / 0.7569 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.9279, allocations: 12.94 kB / 0.757 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.928, allocations: 16 kB / 0.757 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007405/0.9354, allocations: 2.087 MB / 0.759 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.9371, allocations: 379.3 kB / 0.7594 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04323/0.9803, allocations: 35.56 MB / 0.7941 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002774/0.9831, allocations: 123.9 kB / 0.7942 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/0.9834, allocations: 99.92 kB / 0.7943 GB, free: 1.426 MB / 0.6231 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.003344/0.9868, allocations: 1.504 MB / 0.7958 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006978/0.9875, allocations: 280.7 kB / 0.796 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.9992, allocations: 5.211 MB / 0.8011 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.9993, allocations: 20 kB / 0.8012 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.161e-05/0.9994, allocations: 20 kB / 0.8012 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.9994, allocations: 7.969 kB / 0.8012 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.019, allocations: 9.684 MB / 0.8106 GB, free: 420 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.019, allocations: 11.94 kB / 0.8106 GB, free: 408 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009105/1.02, allocations: 219.6 kB / 0.8109 GB, free: 188 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3305/1.35, allocations: 1.832 MB / 0.8126 GB, free: 200 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/1.35, allocations: 40.62 kB / 0.8127 GB, free: 200 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03235/1.383, allocations: 34.55 MB / 0.8464 GB, free: 173.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.383, allocations: 11.25 kB / 0.8464 GB, free: 173.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009539/1.392, allocations: 4.912 MB / 0.8512 GB, free: 171.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001812/1.394, allocations: 0.628 MB / 0.8518 GB, free: 171.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004459/1.395, allocations: 39.28 kB / 0.8519 GB, free: 171.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.396, allocations: 130.2 kB / 0.852 GB, free: 171.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008849/1.397, allocations: 189.5 kB / 0.8522 GB, free: 171.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.397, allocations: 61.94 kB / 0.8522 GB, free: 171.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002251/1.4, allocations: 1.377 MB / 0.8536 GB, free: 170.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/1.4, allocations: 0 / 0.8536 GB, free: 170.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004342/1.404, allocations: 1.049 MB / 0.8546 GB, free: 170.6 MB / 0.6387 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.0003671/1.404, allocations: 169.9 kB / 0.8548 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009661/1.414, allocations: 6.27 MB / 0.8609 GB, free: 166.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/1.414, allocations: 2.75 kB / 0.8609 GB, free: 166.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006124/1.42, allocations: 4.412 MB / 0.8652 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00657/1.427, allocations: 0.92 MB / 0.8661 GB, free: 163.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/1.44, allocations: 10.05 MB / 0.8759 GB, free: 157.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003115/1.443, allocations: 3.123 MB / 0.879 GB, free: 156.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002137/1.445, allocations: 0.5256 MB / 0.8795 GB, free: 156.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000338/1.445, allocations: 145.2 kB / 0.8796 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of SimCode: time 1.693e-06/1.445, allocations: 0 / 0.8796 GB, free: 156.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.0816/1.527, allocations: 57.01 MB / 0.9353 GB, free: 101 MB / 0.6387 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)