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.000965/0.0009651, allocations: 89.12 kB / 16.67 MB, free: 6.594 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.001175/0.001175, allocations: 182.3 kB / 17.58 MB, free: 6.188 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.369/1.369, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8445/0.8445, allocations: 115.5 MB / 408.2 MB, free: 7.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004685, allocations: 12 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4723, allocations: 77.53 MB / 0.5606 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03273/0.5051, allocations: 33.96 MB / 0.5938 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.5235, allocations: 9.828 MB / 0.6034 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003825/0.5273, allocations: 126.1 kB / 0.6035 GB, free: 5.391 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002387/0.5298, allocations: 0.6988 MB / 0.6042 GB, free: 4.785 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0057/0.5355, allocations: 1.912 MB / 0.606 GB, free: 3.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.5396, allocations: 1.617 MB / 0.6076 GB, free: 1.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01252/0.5521, allocations: 11.19 MB / 0.6185 GB, free: 7.945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02094/0.5731, allocations: 12.16 MB / 0.6304 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005397/0.5786, allocations: 2.408 MB / 0.6328 GB, free: 9.305 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006092/0.5847, allocations: 3.211 MB / 0.6359 GB, free: 6.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001708/0.5864, allocations: 280 kB / 0.6362 GB, free: 5.809 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004359/0.5908, allocations: 1.267 MB / 0.6374 GB, free: 4.539 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004085/0.5949, allocations: 2.104 MB / 0.6395 GB, free: 2.43 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005725/0.6006, allocations: 2.528 MB / 0.6419 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.6125, allocations: 8.591 MB / 0.6503 GB, free: 7.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.6126, allocations: 0 / 0.6503 GB, free: 7.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.6126, allocations: 3.938 kB / 0.6503 GB, free: 7.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0003942/0.613, allocations: 0 / 0.6503 GB, free: 7.266 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.01164/0.6246, allocations: 4.364 MB / 0.6546 GB, free: 2.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.6247, allocations: 11.97 kB / 0.6546 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005777/0.6305, allocations: 0.9665 MB / 0.6555 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006116/0.6366, allocations: 2.999 MB / 0.6585 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004077/0.637, allocations: 353.9 kB / 0.6588 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001612/0.6387, allocations: 468.3 kB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.6565, allocations: 7.906 MB / 0.667 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000198/0.6567, allocations: 23.78 kB / 0.667 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001089/0.6578, allocations: 208 kB / 0.6672 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005862/0.6584, allocations: 369 kB / 0.6675 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.6718, allocations: 5.937 MB / 0.6733 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04255/0.7144, allocations: 36.25 MB / 0.7087 GB, free: 7.684 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003568/0.718, allocations: 2.146 MB / 0.7108 GB, free: 5.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002065/0.7201, allocations: 1.477 MB / 0.7123 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.506e-05/0.7202, allocations: 17.31 kB / 0.7123 GB, free: 4.027 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.7203, allocations: 59.81 kB / 0.7124 GB, free: 3.961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=157): time 4.388e-06/0.7203, allocations: 0 / 0.7124 GB, free: 3.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=160): time 0.01444/0.7347, allocations: 7.575 MB / 0.7198 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.7348, allocations: 68.72 kB / 0.7198 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002877/0.7377, allocations: 1.856 MB / 0.7216 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.7379, allocations: 53.7 kB / 0.7217 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.7393, allocations: 2.127 MB / 0.7238 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/0.7399, allocations: 0.5662 MB / 0.7243 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.7402, allocations: 178.1 kB / 0.7245 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7403, allocations: 305.1 kB / 0.7248 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.7419, allocations: 1.066 MB / 0.7258 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.744, allocations: 1.76 MB / 0.7275 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003926/0.748, allocations: 3.045 MB / 0.7305 GB, free: 388 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.748, allocations: 4 kB / 0.7305 GB, free: 384 kB / 0.5606 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006818/0.7548, allocations: 3.924 MB / 0.7343 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.7549, allocations: 12 kB / 0.7344 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.739e-05/0.755, allocations: 27.94 kB / 0.7344 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/0.7575, allocations: 0.9356 MB / 0.7353 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.7592, allocations: 427.3 kB / 0.7357 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3495/1.109, allocations: 21.07 MB / 0.7563 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/1.111, allocations: 124 kB / 0.7564 GB, free: 146.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002999/1.111, allocations: 94.12 kB / 0.7565 GB, free: 146.2 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.003562/1.115, allocations: 1.645 MB / 0.7581 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000619/1.116, allocations: 261.9 kB / 0.7583 GB, free: 145.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006044/1.122, allocations: 3.258 MB / 0.7615 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/1.122, allocations: 19.69 kB / 0.7615 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.537e-05/1.122, allocations: 11.56 kB / 0.7616 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.122, allocations: 7.453 kB / 0.7616 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/1.135, allocations: 7.543 MB / 0.7689 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.135, allocations: 4.656 kB / 0.7689 GB, free: 141 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009863/1.136, allocations: 223.3 kB / 0.7691 GB, free: 140.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/1.139, allocations: 0.8992 MB / 0.77 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/1.139, allocations: 34 kB / 0.7701 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01727/1.156, allocations: 21.05 MB / 0.7906 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/1.156, allocations: 5.75 kB / 0.7906 GB, free: 122.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006052/1.162, allocations: 3.386 MB / 0.7939 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.164, allocations: 0.535 MB / 0.7944 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003669/1.164, allocations: 34.3 kB / 0.7945 GB, free: 121.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.165, allocations: 92.28 kB / 0.7946 GB, free: 121 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/1.166, allocations: 140.1 kB / 0.7947 GB, free: 121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.166, allocations: 46.25 kB / 0.7947 GB, free: 121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001858/1.168, allocations: 1.224 MB / 0.7959 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/1.168, allocations: 0 / 0.7959 GB, free: 120.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003437/1.171, allocations: 0.9037 MB / 0.7968 GB, free: 120.4 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.0002997/1.171, allocations: 151.8 kB / 0.797 GB, free: 120.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005791/1.177, allocations: 4.434 MB / 0.8013 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.177, allocations: 3.75 kB / 0.8013 GB, free: 117.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003457/1.181, allocations: 3.004 MB / 0.8042 GB, free: 115.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005347/1.186, allocations: 0.7647 MB / 0.805 GB, free: 115.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/1.201, allocations: 10.34 MB / 0.8151 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003214/1.205, allocations: 3.281 MB / 0.8183 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/1.205, allocations: 155.4 kB / 0.8184 GB, free: 105 MB / 0.5762 GB Notification: Performance of SimCode: time 1.061e-06/1.205, allocations: 0 / 0.8184 GB, free: 105 MB / 0.5762 GB Notification: Performance of Templates: time 0.562/1.767, allocations: 339.1 MB / 1.15 GB, free: 65.3 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)