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.001333/0.001333, allocations: 119.2 kB / 17.09 MB, free: 5.938 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.001402/0.001403, allocations: 196.6 kB / 18.02 MB, free: 5.023 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.252/1.252, allocations: 222.9 MB / 241.7 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6787/0.6787, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 65.12 kB / 0.5584 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1286, allocations: 76.18 MB / 0.6327 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03263/0.1613, allocations: 30.74 MB / 0.6628 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.1821, allocations: 13.6 MB / 0.676 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003703/0.1858, allocations: 143.2 kB / 0.6762 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008285/0.1942, allocations: 3.204 MB / 0.6793 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007627/0.2018, allocations: 2.76 MB / 0.682 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00528/0.2071, allocations: 2.016 MB / 0.684 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009563/0.2167, allocations: 7.636 MB / 0.6914 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01139/0.2282, allocations: 8.229 MB / 0.6995 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005946/0.2342, allocations: 3.467 MB / 0.7029 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005468/0.2397, allocations: 3.379 MB / 0.7062 GB, free: 8.875 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001848/0.2415, allocations: 0.5976 MB / 0.7067 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.2453, allocations: 1.494 MB / 0.7082 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003391/0.2488, allocations: 2.366 MB / 0.7105 GB, free: 4.41 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005273/0.254, allocations: 2.886 MB / 0.7133 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.2664, allocations: 9.465 MB / 0.7226 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2665, allocations: 0 / 0.7226 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2665, allocations: 0 / 0.7226 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003151/0.2668, allocations: 0 / 0.7226 GB, free: 8.02 MB / 0.5606 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.01259/0.2794, allocations: 5.14 MB / 0.7276 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2795, allocations: 12.03 kB / 0.7276 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005794/0.2853, allocations: 0.9941 MB / 0.7286 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006218/0.2915, allocations: 3.071 MB / 0.7316 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002352/0.2918, allocations: 316.8 kB / 0.7319 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00111/0.2929, allocations: 420 kB / 0.7323 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01266/0.3056, allocations: 6.803 MB / 0.7389 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.3058, allocations: 11.94 kB / 0.7389 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005312/0.3063, allocations: 184 kB / 0.7391 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00087/0.3072, allocations: 372 kB / 0.7395 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009401/0.3166, allocations: 5.118 MB / 0.7445 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3365/0.6531, allocations: 30.5 MB / 0.7742 GB, free: 74.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/0.6551, allocations: 1.395 MB / 0.7756 GB, free: 74.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.6569, allocations: 1.323 MB / 0.7769 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.491e-05/0.657, allocations: 13.28 kB / 0.7769 GB, free: 73.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.657, allocations: 54.56 kB / 0.777 GB, free: 73.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 2.775e-06/0.657, allocations: 1.469 kB / 0.777 GB, free: 73.35 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.0777/0.7347, allocations: 23.08 MB / 0.7995 GB, free: 59.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.7348, allocations: 73.39 kB / 0.7996 GB, free: 59.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.7369, allocations: 2.055 MB / 0.8016 GB, free: 57.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/0.7371, allocations: 65.7 kB / 0.8016 GB, free: 57.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006865/0.7378, allocations: 2.013 MB / 0.8036 GB, free: 55.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003835/0.7382, allocations: 0.673 MB / 0.8043 GB, free: 55.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005573/0.7388, allocations: 412.1 kB / 0.8047 GB, free: 54.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.513e-05/0.7388, allocations: 301.1 kB / 0.805 GB, free: 54.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.7403, allocations: 1.437 MB / 0.8064 GB, free: 52.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.7421, allocations: 2.013 MB / 0.8083 GB, free: 50.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.7454, allocations: 3.7 MB / 0.8119 GB, free: 46.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.7455, allocations: 4 kB / 0.8119 GB, free: 46.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008656/0.7541, allocations: 5.657 MB / 0.8175 GB, free: 41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.7542, allocations: 19.94 kB / 0.8175 GB, free: 40.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.7542, allocations: 16 kB / 0.8175 GB, free: 40.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005686/0.7599, allocations: 2.087 MB / 0.8195 GB, free: 38.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.7613, allocations: 379.4 kB / 0.8199 GB, free: 38.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02761/0.7889, allocations: 38.42 MB / 0.8574 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.7912, allocations: 123.9 kB / 0.8575 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/0.7915, allocations: 92 kB / 0.8576 GB, free: 13.35 MB / 0.5919 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.002224/0.7937, allocations: 1.523 MB / 0.8591 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004782/0.7942, allocations: 280.9 kB / 0.8594 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009595/0.8038, allocations: 5.215 MB / 0.8645 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.8038, allocations: 23.98 kB / 0.8645 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-05/0.8039, allocations: 16 kB / 0.8645 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/0.8039, allocations: 11.95 kB / 0.8645 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.82, allocations: 9.67 MB / 0.874 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.8201, allocations: 15.97 kB / 0.874 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008673/0.8209, allocations: 207.7 kB / 0.8742 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005492/0.8264, allocations: 1.849 MB / 0.876 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.8267, allocations: 40 kB / 0.876 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03482/0.8615, allocations: 37.44 MB / 0.9126 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.8616, allocations: 11.94 kB / 0.9126 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008543/0.8701, allocations: 4.916 MB / 0.9174 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.8715, allocations: 0.6162 MB / 0.918 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004222/0.872, allocations: 44.12 kB / 0.918 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.8734, allocations: 131.8 kB / 0.9182 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005682/0.874, allocations: 189.5 kB / 0.9183 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001241/0.8741, allocations: 59.98 kB / 0.9184 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001835/0.8759, allocations: 1.374 MB / 0.9197 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.876, allocations: 8 kB / 0.9198 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003186/0.8792, allocations: 1.043 MB / 0.9208 GB, free: 9.715 MB / 0.6544 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.0003026/0.8795, allocations: 172.1 kB / 0.9209 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.009167/0.8886, allocations: 6.299 MB / 0.9271 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.8887, allocations: 0 / 0.9271 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006253/0.8949, allocations: 4.402 MB / 0.9314 GB, free: 14.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/0.8989, allocations: 0.9832 MB / 0.9323 GB, free: 13.46 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.9125, allocations: 8.602 MB / 0.9407 GB, free: 4.805 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003209/0.9158, allocations: 3.182 MB / 0.9439 GB, free: 1.59 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/0.9164, allocations: 159.4 kB / 0.944 GB, free: 1.434 MB / 0.67 GB Notification: Performance of SimCode: time 6.91e-07/0.9164, allocations: 0 / 0.944 GB, free: 1.434 MB / 0.67 GB Notification: Performance of Templates: time 0.8432/1.76, allocations: 464.9 MB / 1.398 GB, free: 214.6 MB / 0.7794 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)