Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 110.8 kB / 17.04 MB, free: 6.047 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.001443/0.001443, allocations: 196 kB / 17.98 MB, free: 5.137 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.345/1.345, allocations: 222.9 MB / 241.7 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.693/0.693, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 67.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3601, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02275/0.3829, allocations: 22.56 MB / 0.5796 GB, free: 21.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.3947, allocations: 6.23 MB / 0.5857 GB, free: 17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.397, allocations: 96.03 kB / 0.5858 GB, free: 16.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003542/0.4006, allocations: 1.548 MB / 0.5873 GB, free: 16.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.4053, allocations: 1.626 MB / 0.5889 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.4088, allocations: 1.338 MB / 0.5902 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.4191, allocations: 5.941 MB / 0.596 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008187/0.4273, allocations: 6.058 MB / 0.6019 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003593/0.4309, allocations: 2.411 MB / 0.6043 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002956/0.4339, allocations: 2.874 MB / 0.6071 GB, free: 1.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007917/0.4347, allocations: 456 kB / 0.6075 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002746/0.4375, allocations: 1.096 MB / 0.6086 GB, free: 220 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002496/0.44, allocations: 2.027 MB / 0.6106 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004065/0.4441, allocations: 2.17 MB / 0.6127 GB, free: 12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008896/0.453, allocations: 7.295 MB / 0.6198 GB, free: 4.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.453, allocations: 0 / 0.6198 GB, free: 4.688 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.453, allocations: 0 / 0.6198 GB, free: 4.688 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002183/0.4533, allocations: 0 / 0.6198 GB, free: 4.688 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.008883/0.4621, allocations: 3.824 MB / 0.6235 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4622, allocations: 8.031 kB / 0.6236 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007575/0.4698, allocations: 1.206 MB / 0.6247 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006317/0.4761, allocations: 2.34 MB / 0.627 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.4764, allocations: 238.4 kB / 0.6272 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008483/0.4773, allocations: 319.8 kB / 0.6275 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01107/0.4883, allocations: 6.224 MB / 0.6336 GB, free: 6.156 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.234e-05/0.4885, allocations: 15.88 kB / 0.6336 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/0.4888, allocations: 136 kB / 0.6338 GB, free: 6.008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000505/0.4893, allocations: 406.3 kB / 0.6342 GB, free: 5.609 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007959/0.4973, allocations: 4.658 MB / 0.6387 GB, free: 0.9414 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03045/0.5278, allocations: 28.95 MB / 0.667 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.5297, allocations: 1.422 MB / 0.6684 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.5314, allocations: 1.487 MB / 0.6698 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.5315, allocations: 13 kB / 0.6698 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.5315, allocations: 47.5 kB / 0.6699 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 2.695e-06/0.5315, allocations: 0 / 0.6699 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=179): time 0.1249/0.6564, allocations: 37.23 MB / 0.7062 GB, free: 8.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.6565, allocations: 73.41 kB / 0.7063 GB, free: 8.898 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.6586, allocations: 1.419 MB / 0.7077 GB, free: 7.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003066/0.6589, allocations: 53.7 kB / 0.7077 GB, free: 7.414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00114/0.66, allocations: 1.542 MB / 0.7092 GB, free: 5.852 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006432/0.6607, allocations: 0.6045 MB / 0.7098 GB, free: 5.238 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007127/0.6614, allocations: 383.3 kB / 0.7102 GB, free: 4.855 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6615, allocations: 301.1 kB / 0.7105 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/0.6639, allocations: 1.792 MB / 0.7122 GB, free: 2.762 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002955/0.6669, allocations: 2.35 MB / 0.7145 GB, free: 160 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005681/0.6726, allocations: 4.387 MB / 0.7188 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.6726, allocations: 8 kB / 0.7188 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01709/0.6897, allocations: 8.563 MB / 0.7272 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.6898, allocations: 17.19 kB / 0.7272 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.741e-05/0.6898, allocations: 16 kB / 0.7272 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01423/0.7041, allocations: 4.636 MB / 0.7317 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.7053, allocations: 307.4 kB / 0.732 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3316/1.037, allocations: 32.59 MB / 0.7639 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001947/1.039, allocations: 154.9 kB / 0.764 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/1.039, allocations: 81.98 kB / 0.7641 GB, free: 147.6 MB / 0.5762 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002095/1.041, allocations: 1.328 MB / 0.7654 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/1.042, allocations: 198.4 kB / 0.7656 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/1.058, allocations: 8.438 MB / 0.7738 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/1.058, allocations: 21.56 kB / 0.7738 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.694e-05/1.058, allocations: 24.72 kB / 0.7739 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/1.058, allocations: 11.06 kB / 0.7739 GB, free: 144.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02282/1.081, allocations: 12.85 MB / 0.7864 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.081, allocations: 3.938 kB / 0.7864 GB, free: 140.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/1.081, allocations: 167 kB / 0.7866 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01182/1.093, allocations: 4.488 MB / 0.791 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/1.093, allocations: 41.91 kB / 0.791 GB, free: 138.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03374/1.127, allocations: 32.18 MB / 0.8224 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.127, allocations: 11.94 kB / 0.8224 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/1.14, allocations: 8.236 MB / 0.8305 GB, free: 98.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/1.142, allocations: 0.6217 MB / 0.8311 GB, free: 98.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/1.142, allocations: 36.38 kB / 0.8311 GB, free: 98.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/1.144, allocations: 139.7 kB / 0.8313 GB, free: 98.15 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008339/1.144, allocations: 168.9 kB / 0.8314 GB, free: 97.98 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.145, allocations: 56 kB / 0.8315 GB, free: 97.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001044/1.146, allocations: 0.9627 MB / 0.8324 GB, free: 96.97 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.146, allocations: 0 / 0.8324 GB, free: 96.97 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003039/1.149, allocations: 1.113 MB / 0.8335 GB, free: 95.86 MB / 0.5762 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002685/1.149, allocations: 146.3 kB / 0.8336 GB, free: 95.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009902/1.159, allocations: 6.549 MB / 0.84 GB, free: 89.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.159, allocations: 4 kB / 0.84 GB, free: 89.12 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007404/1.166, allocations: 4.355 MB / 0.8443 GB, free: 84.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/1.169, allocations: 0.5232 MB / 0.8448 GB, free: 84.21 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/1.179, allocations: 6.804 MB / 0.8514 GB, free: 77.37 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/1.182, allocations: 2.727 MB / 0.8541 GB, free: 74.61 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009781/1.183, allocations: 384.6 kB / 0.8545 GB, free: 74.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/1.183, allocations: 99.42 kB / 0.8546 GB, free: 74.13 MB / 0.5762 GB Notification: Performance of SimCode: time 1.153e-06/1.183, allocations: 4 kB / 0.8546 GB, free: 74.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.07471/1.258, allocations: 60.49 MB / 0.9137 GB, free: 13.95 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)