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.0009488/0.0009489, allocations: 106 kB / 16.4 MB, free: 6.504 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.0009289/0.0009289, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6717/0.6717, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 68.53 kB / 0.5577 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1287, allocations: 76.18 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03219/0.1609, allocations: 30.74 MB / 0.6621 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.1837, allocations: 13.6 MB / 0.6754 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003277/0.187, allocations: 139.3 kB / 0.6755 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00799/0.1951, allocations: 3.211 MB / 0.6787 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007475/0.2026, allocations: 2.654 MB / 0.6813 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005115/0.2077, allocations: 2.009 MB / 0.6832 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00956/0.2173, allocations: 7.629 MB / 0.6907 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009576/0.2269, allocations: 8.225 MB / 0.6987 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005226/0.2321, allocations: 3.467 MB / 0.7021 GB, free: 12.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004843/0.237, allocations: 3.387 MB / 0.7054 GB, free: 9.004 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009564/0.238, allocations: 0.5938 MB / 0.706 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/0.2408, allocations: 1.494 MB / 0.7074 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002183/0.243, allocations: 2.37 MB / 0.7097 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00369/0.2467, allocations: 2.882 MB / 0.7126 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.009106/0.2558, allocations: 9.465 MB / 0.7218 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2558, allocations: 0 / 0.7218 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2559, allocations: 0 / 0.7218 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001957/0.2561, allocations: 0 / 0.7218 GB, free: 8.152 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.009549/0.2656, allocations: 5.136 MB / 0.7268 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2657, allocations: 12.03 kB / 0.7268 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005272/0.2709, allocations: 0.998 MB / 0.7278 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005178/0.2761, allocations: 3.068 MB / 0.7308 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.2764, allocations: 320.8 kB / 0.7311 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000621/0.277, allocations: 416.1 kB / 0.7315 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01016/0.2872, allocations: 6.8 MB / 0.7381 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.984e-05/0.2873, allocations: 23.62 kB / 0.7382 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.2877, allocations: 184 kB / 0.7383 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008194/0.2885, allocations: 368 kB / 0.7387 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007878/0.2964, allocations: 5.114 MB / 0.7437 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3051/0.6016, allocations: 30.51 MB / 0.7735 GB, free: 74.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.6034, allocations: 1.386 MB / 0.7748 GB, free: 74.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.605, allocations: 1.333 MB / 0.7761 GB, free: 73.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.421e-05/0.605, allocations: 14.03 kB / 0.7761 GB, free: 73.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6051, allocations: 54.09 kB / 0.7762 GB, free: 73.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=130): time 2.855e-06/0.6051, allocations: 0 / 0.7762 GB, free: 73.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=199): time 0.07435/0.6795, allocations: 23.08 MB / 0.7987 GB, free: 60.29 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.6795, allocations: 69.41 kB / 0.7988 GB, free: 60.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/0.6817, allocations: 2.063 MB / 0.8008 GB, free: 58.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.6818, allocations: 61.7 kB / 0.8009 GB, free: 58.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007263/0.6825, allocations: 2.013 MB / 0.8028 GB, free: 56.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.6829, allocations: 0.6766 MB / 0.8035 GB, free: 55.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.6834, allocations: 412.1 kB / 0.8039 GB, free: 54.95 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.987e-05/0.6835, allocations: 305.1 kB / 0.8042 GB, free: 54.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.685, allocations: 1.426 MB / 0.8056 GB, free: 53.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.6867, allocations: 2.021 MB / 0.8076 GB, free: 50.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/0.6899, allocations: 3.696 MB / 0.8112 GB, free: 47.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.6899, allocations: 4 kB / 0.8112 GB, free: 47.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008396/0.6983, allocations: 5.657 MB / 0.8167 GB, free: 41.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.6984, allocations: 16.88 kB / 0.8167 GB, free: 41.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.6984, allocations: 16 kB / 0.8167 GB, free: 41.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005435/0.7038, allocations: 2.087 MB / 0.8188 GB, free: 39.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.7051, allocations: 382.9 kB / 0.8191 GB, free: 38.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02751/0.7326, allocations: 38.43 MB / 0.8566 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.7351, allocations: 131.9 kB / 0.8568 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.7353, allocations: 91.98 kB / 0.8569 GB, free: 13.63 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.002342/0.7376, allocations: 1.515 MB / 0.8583 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005155/0.7382, allocations: 288.6 kB / 0.8586 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009549/0.7477, allocations: 5.208 MB / 0.8637 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.7478, allocations: 23.56 kB / 0.8637 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.139e-05/0.7478, allocations: 16 kB / 0.8637 GB, free: 6.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.918e-05/0.7478, allocations: 7.969 kB / 0.8637 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.7639, allocations: 9.681 MB / 0.8732 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.764, allocations: 8 kB / 0.8732 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.7648, allocations: 215.5 kB / 0.8734 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005373/0.7702, allocations: 1.841 MB / 0.8752 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/0.7704, allocations: 36 kB / 0.8752 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03422/0.8046, allocations: 37.44 MB / 0.9118 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/0.8046, allocations: 11.94 kB / 0.9118 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008492/0.8131, allocations: 4.915 MB / 0.9166 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.8144, allocations: 0.6109 MB / 0.9172 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003227/0.8147, allocations: 44 kB / 0.9173 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.816, allocations: 123.8 kB / 0.9174 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005669/0.8166, allocations: 197.5 kB / 0.9176 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.8167, allocations: 60 kB / 0.9176 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001728/0.8185, allocations: 1.378 MB / 0.919 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8185, allocations: 0 / 0.919 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002835/0.8213, allocations: 1.047 MB / 0.92 GB, free: 10.01 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.0002646/0.8216, allocations: 166.9 kB / 0.9202 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008781/0.8304, allocations: 6.307 MB / 0.9263 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8304, allocations: 0 / 0.9263 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006004/0.8364, allocations: 4.398 MB / 0.9306 GB, free: 14.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/0.8403, allocations: 0.9952 MB / 0.9316 GB, free: 13.75 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/0.8529, allocations: 8.034 MB / 0.9394 GB, free: 5.664 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003298/0.8562, allocations: 3.119 MB / 0.9425 GB, free: 2.512 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001713/0.8579, allocations: 0.5277 MB / 0.943 GB, free: 1.98 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.8583, allocations: 151.4 kB / 0.9431 GB, free: 1.832 MB / 0.67 GB Notification: Performance of SimCode: time 9.41e-07/0.8583, allocations: 0 / 0.9431 GB, free: 1.832 MB / 0.67 GB Notification: Performance of Templates: time 0.08619/0.9445, allocations: 58.45 MB / 1 GB, free: 8.234 MB / 0.7325 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)