Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009191/0.0009192, allocations: 92.95 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.0009693/0.0009692, allocations: 182.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.45/1.45, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7239/0.7239, allocations: 123 MB / 415.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002948/0.0002949, allocations: 8 kB / 0.4933 GB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4481, allocations: 79.29 MB / 0.5708 GB, free: 9.926 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01313/0.4612, allocations: 11.28 MB / 0.5818 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009803/0.4711, allocations: 5.426 MB / 0.5871 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.4729, allocations: 34.88 kB / 0.5871 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.4746, allocations: 310.6 kB / 0.5874 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.4772, allocations: 0.6032 MB / 0.588 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.4797, allocations: 0.6276 MB / 0.5886 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005354/0.4851, allocations: 3.595 MB / 0.5921 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007147/0.4922, allocations: 4.104 MB / 0.5961 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.4944, allocations: 0.7653 MB / 0.5969 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.4968, allocations: 1.036 MB / 0.5979 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004663/0.4972, allocations: 91.91 kB / 0.598 GB, free: 11.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.4988, allocations: 472.7 kB / 0.5984 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.5001, allocations: 0.7173 MB / 0.5991 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.5016, allocations: 0.8061 MB / 0.5999 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003795/0.5054, allocations: 3.399 MB / 0.6032 GB, free: 7.797 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.5054, allocations: 3.938 kB / 0.6032 GB, free: 7.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5054, allocations: 5.531 kB / 0.6032 GB, free: 7.789 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.688e-05/0.5055, allocations: 0 / 0.6032 GB, free: 7.789 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.004229/0.5097, allocations: 1.594 MB / 0.6048 GB, free: 6.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.5098, allocations: 8.719 kB / 0.6048 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.5128, allocations: 0.4896 MB / 0.6053 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.5149, allocations: 1.101 MB / 0.6064 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.515, allocations: 113.5 kB / 0.6065 GB, free: 5.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/0.5153, allocations: 155.9 kB / 0.6066 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004791/0.5201, allocations: 2.764 MB / 0.6093 GB, free: 3.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.5202, allocations: 6.438 kB / 0.6093 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001988/0.5204, allocations: 61.47 kB / 0.6094 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003019/0.5207, allocations: 146.5 kB / 0.6095 GB, free: 3.855 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004183/0.5249, allocations: 2.315 MB / 0.6118 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01299/0.5379, allocations: 10.51 MB / 0.622 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001323/0.5393, allocations: 0.6116 MB / 0.6226 GB, free: 6.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007078/0.54, allocations: 396.6 kB / 0.623 GB, free: 5.973 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.5401, allocations: 89.05 kB / 0.6231 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.5401, allocations: 42.36 kB / 0.6231 GB, free: 5.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=36): time 3.276e-06/0.5402, allocations: 0 / 0.6231 GB, free: 5.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=52): time 0.02371/0.5639, allocations: 6.041 MB / 0.629 GB, free: 15.72 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.564, allocations: 55.84 kB / 0.6291 GB, free: 15.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.5655, allocations: 0.8789 MB / 0.6299 GB, free: 14.76 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.5656, allocations: 37.7 kB / 0.63 GB, free: 14.72 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000557/0.5662, allocations: 0.7538 MB / 0.6307 GB, free: 13.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.5664, allocations: 185.4 kB / 0.6309 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.5666, allocations: 77.69 kB / 0.631 GB, free: 13.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.5668, allocations: 390.8 kB / 0.6313 GB, free: 13.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.568, allocations: 0.6538 MB / 0.632 GB, free: 12.64 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.5697, allocations: 1.022 MB / 0.633 GB, free: 11.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.5726, allocations: 1.693 MB / 0.6346 GB, free: 9.602 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.5727, allocations: 7.938 kB / 0.6346 GB, free: 9.594 MB / 478.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01008/0.5828, allocations: 3.19 MB / 0.6378 GB, free: 6.383 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004013/0.5832, allocations: 439.3 kB / 0.6382 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.5832, allocations: 12 kB / 0.6382 GB, free: 5.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008195/0.5914, allocations: 1.747 MB / 0.6399 GB, free: 4.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.5926, allocations: 235.6 kB / 0.6401 GB, free: 3.789 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/0.6081, allocations: 9.923 MB / 0.6498 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/0.6099, allocations: 167.7 kB / 0.65 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.61, allocations: 47.98 kB / 0.65 GB, free: 9.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.347e-06/0.61, allocations: 4 kB / 0.65 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007916/0.6179, allocations: 2.629 MB / 0.6526 GB, free: 6.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/0.618, allocations: 11.98 kB / 0.6526 GB, free: 6.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00538/0.6234, allocations: 1.161 MB / 0.6537 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.6246, allocations: 263.5 kB / 0.654 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008436/0.6331, allocations: 5.43 MB / 0.6593 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.6345, allocations: 151.8 kB / 0.6594 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.6346, allocations: 43.98 kB / 0.6595 GB, free: 15.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001479/0.6361, allocations: 0.8362 MB / 0.6603 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.6363, allocations: 79.09 kB / 0.6604 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008491/0.6448, allocations: 2.641 MB / 0.6629 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.6448, allocations: 4 kB / 0.6629 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6448, allocations: 8 kB / 0.6629 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.6448, allocations: 3.984 kB / 0.663 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.6558, allocations: 4.527 MB / 0.6674 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.6559, allocations: 0 / 0.6674 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.6563, allocations: 108.1 kB / 0.6675 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007109/0.6634, allocations: 1.595 MB / 0.669 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.803e-05/0.6636, allocations: 16 kB / 0.669 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.6758, allocations: 9.469 MB / 0.6783 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.6759, allocations: 3.938 kB / 0.6783 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007958/0.6838, allocations: 2.575 MB / 0.6808 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006892/0.6846, allocations: 280.1 kB / 0.6811 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.6847, allocations: 12 kB / 0.6811 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/0.6856, allocations: 139.6 kB / 0.6812 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003026/0.6859, allocations: 43.94 kB / 0.6813 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.815e-05/0.686, allocations: 16 kB / 0.6813 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001055/0.687, allocations: 0.6473 MB / 0.6819 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6871, allocations: 0 / 0.6819 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002292/0.6894, allocations: 0.5898 MB / 0.6825 GB, free: 6.797 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006689/0.6901, allocations: 131.1 kB / 0.6826 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006123/0.6962, allocations: 3.146 MB / 0.6857 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6962, allocations: 4.062 kB / 0.6857 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.6983, allocations: 1.182 MB / 0.6868 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6997, allocations: 227.6 kB / 0.6871 GB, free: 1.988 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.7051, allocations: 3.682 MB / 0.6907 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/0.7066, allocations: 1.618 MB / 0.6922 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001464/0.7081, allocations: 0.4943 MB / 0.6927 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.7083, allocations: 59.42 kB / 0.6928 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of SimCode: time 9.41e-07/0.7083, allocations: 0 / 0.6928 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of Templates: time 0.03664/0.7449, allocations: 24.03 MB / 0.7162 GB, free: 4.129 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)