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.0008318/0.0008318, allocations: 92.17 kB / 16.02 MB, free: 84 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.0009633/0.0009635, allocations: 184.7 kB / 16.92 MB, free: 6.934 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.487/1.487, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8104/0.8104, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005977/0.000598, allocations: 12 kB / 495.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1827, allocations: 77.53 MB / 0.56 GB, free: 9.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.3618/0.5445, allocations: 29.69 MB / 0.589 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02359/0.5681, allocations: 13.4 MB / 0.602 GB, free: 12.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004414/0.5726, allocations: 124 kB / 0.6022 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002435/0.575, allocations: 0.6517 MB / 0.6028 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.5855, allocations: 2.474 MB / 0.6052 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005813/0.5913, allocations: 1.713 MB / 0.6069 GB, free: 10 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01698/0.6083, allocations: 10.44 MB / 0.6171 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01669/0.625, allocations: 10.19 MB / 0.627 GB, free: 344 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006745/0.6318, allocations: 2.584 MB / 0.6296 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006178/0.638, allocations: 2.943 MB / 0.6324 GB, free: 12.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000715/0.6387, allocations: 244 kB / 0.6327 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.6428, allocations: 1.384 MB / 0.634 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002614/0.6454, allocations: 1.924 MB / 0.6359 GB, free: 9.008 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004421/0.6499, allocations: 2.38 MB / 0.6382 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.6617, allocations: 9.013 MB / 0.647 GB, free: 13.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.6617, allocations: 0 / 0.647 GB, free: 13.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6618, allocations: 0 / 0.647 GB, free: 13.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002518/0.662, allocations: 0 / 0.647 GB, free: 13.57 MB / 478.1 MB 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.0094/0.6714, allocations: 4.159 MB / 0.6511 GB, free: 9.332 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.6715, allocations: 12.03 kB / 0.6511 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005963/0.6775, allocations: 1.002 MB / 0.6521 GB, free: 8.312 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005167/0.6826, allocations: 2.888 MB / 0.6549 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.6829, allocations: 320.8 kB / 0.6552 GB, free: 5.027 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007592/0.6836, allocations: 412.3 kB / 0.6556 GB, free: 4.625 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.6951, allocations: 6.795 MB / 0.6622 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.6952, allocations: 19.83 kB / 0.6623 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004517/0.6957, allocations: 184 kB / 0.6624 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009031/0.6966, allocations: 372 kB / 0.6628 GB, free: 12.97 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009528/0.7061, allocations: 5.122 MB / 0.6678 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03742/0.7436, allocations: 30.79 MB / 0.6979 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.7457, allocations: 1.383 MB / 0.6992 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.7474, allocations: 1.328 MB / 0.7005 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.509e-05/0.7475, allocations: 17.25 kB / 0.7005 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/0.7475, allocations: 51.88 kB / 0.7006 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=130): time 4.509e-06/0.7475, allocations: 0 / 0.7006 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=199): time 0.08907/0.8366, allocations: 22.82 MB / 0.7229 GB, free: 12.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.8367, allocations: 73.41 kB / 0.7229 GB, free: 12.44 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002887/0.8396, allocations: 2.055 MB / 0.7249 GB, free: 10.37 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003031/0.8399, allocations: 57.7 kB / 0.725 GB, free: 10.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.8413, allocations: 2.014 MB / 0.7269 GB, free: 8.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007208/0.842, allocations: 0.6817 MB / 0.7276 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.8423, allocations: 182.3 kB / 0.7278 GB, free: 7.395 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.982e-05/0.8425, allocations: 309 kB / 0.7281 GB, free: 7.09 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/0.8446, allocations: 1.43 MB / 0.7295 GB, free: 5.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002548/0.8472, allocations: 2.01 MB / 0.7314 GB, free: 3.395 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004931/0.8521, allocations: 3.696 MB / 0.7351 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.8521, allocations: 4 kB / 0.7351 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01139/0.8635, allocations: 5.661 MB / 0.7406 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.8636, allocations: 16.25 kB / 0.7406 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.8637, allocations: 23.94 kB / 0.7406 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006848/0.8705, allocations: 2.072 MB / 0.7426 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001566/0.8721, allocations: 387.3 kB / 0.743 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03705/0.9092, allocations: 35.54 MB / 0.7777 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/0.9119, allocations: 127.9 kB / 0.7778 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.9121, allocations: 95.88 kB / 0.7779 GB, free: 1.02 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.002941/0.915, allocations: 1.5 MB / 0.7794 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005027/0.9155, allocations: 281 kB / 0.7797 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.9261, allocations: 5.219 MB / 0.7848 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.9261, allocations: 19.98 kB / 0.7848 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-05/0.9261, allocations: 20 kB / 0.7848 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.9262, allocations: 15.95 kB / 0.7848 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.9434, allocations: 9.673 MB / 0.7943 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.9435, allocations: 8.047 kB / 0.7943 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008481/0.9443, allocations: 223.5 kB / 0.7945 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006105/0.9504, allocations: 1.839 MB / 0.7963 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003055/0.9508, allocations: 44 kB / 0.7963 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.355/1.306, allocations: 34.54 MB / 0.8301 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/1.306, allocations: 14.06 kB / 0.8301 GB, free: 199.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.316, allocations: 4.913 MB / 0.8349 GB, free: 198.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.318, allocations: 0.62 MB / 0.8355 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006163/1.318, allocations: 41.36 kB / 0.8355 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/1.32, allocations: 127.7 kB / 0.8356 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000934/1.321, allocations: 193.8 kB / 0.8358 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.321, allocations: 57.69 kB / 0.8359 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002462/1.324, allocations: 1.376 MB / 0.8372 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/1.324, allocations: 0.6562 kB / 0.8372 GB, free: 198.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004617/1.328, allocations: 1.046 MB / 0.8382 GB, free: 198.7 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.0003267/1.329, allocations: 174.2 kB / 0.8384 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01079/1.339, allocations: 6.278 MB / 0.8445 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/1.34, allocations: 1.5 kB / 0.8445 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006617/1.346, allocations: 4.404 MB / 0.8488 GB, free: 192.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006545/1.353, allocations: 0.9032 MB / 0.8497 GB, free: 192.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.367, allocations: 10.07 MB / 0.8595 GB, free: 187 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002915/1.37, allocations: 3.122 MB / 0.8626 GB, free: 185.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002117/1.372, allocations: 0.5171 MB / 0.8631 GB, free: 185.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/1.372, allocations: 149.2 kB / 0.8632 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of SimCode: time 9.02e-07/1.372, allocations: 0 / 0.8632 GB, free: 185.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.07752/1.45, allocations: 57.02 MB / 0.9189 GB, free: 142 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)