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.001429/0.001439, allocations: 105.1 kB / 16.27 MB, free: 6.41 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.001418/0.001418, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.504/1.504, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8356/0.8356, allocations: 126.7 MB / 417.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003073/0.003074, allocations: 63.89 kB / 0.4958 GB, free: 2.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4882, allocations: 78.85 MB / 0.5728 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.0132/0.5015, allocations: 11.82 MB / 0.5843 GB, free: 22.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008683/0.5102, allocations: 5.489 MB / 0.5897 GB, free: 18.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.5118, allocations: 40.16 kB / 0.5897 GB, free: 18.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002708/0.5146, allocations: 1.044 MB / 0.5907 GB, free: 17.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.5165, allocations: 0.6543 MB / 0.5914 GB, free: 16.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.5186, allocations: 0.9159 MB / 0.5923 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002909/0.5215, allocations: 2.457 MB / 0.5947 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.5247, allocations: 3.576 MB / 0.5982 GB, free: 11.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.5263, allocations: 1.103 MB / 0.5992 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.5277, allocations: 1.207 MB / 0.6004 GB, free: 9.508 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.528, allocations: 232 kB / 0.6006 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009667/0.529, allocations: 0.5267 MB / 0.6011 GB, free: 8.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005847/0.5296, allocations: 0.9006 MB / 0.602 GB, free: 7.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008432/0.5304, allocations: 0.9883 MB / 0.603 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.5328, allocations: 3.549 MB / 0.6065 GB, free: 3.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5328, allocations: 4 kB / 0.6065 GB, free: 3.297 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5328, allocations: 0 / 0.6065 GB, free: 3.297 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.12e-05/0.5329, allocations: 4 kB / 0.6065 GB, free: 3.293 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.002991/0.5359, allocations: 1.936 MB / 0.6084 GB, free: 1.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.5359, allocations: 12.02 kB / 0.6084 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002316/0.5382, allocations: 490.4 kB / 0.6088 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.5399, allocations: 1.109 MB / 0.6099 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.51e-05/0.54, allocations: 115.5 kB / 0.61 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003552/0.5404, allocations: 156 kB / 0.6102 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004828/0.5452, allocations: 2.758 MB / 0.6129 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/0.5453, allocations: 7.906 kB / 0.6129 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.5455, allocations: 60 kB / 0.6129 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003066/0.5458, allocations: 151 kB / 0.6131 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004097/0.5499, allocations: 2.303 MB / 0.6153 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/0.5647, allocations: 10.47 MB / 0.6256 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.5661, allocations: 0.6184 MB / 0.6262 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/0.5668, allocations: 388.6 kB / 0.6265 GB, free: 13.67 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.567, allocations: 97.08 kB / 0.6266 GB, free: 13.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.962e-05/0.567, allocations: 42.36 kB / 0.6267 GB, free: 13.51 MB / 478.1 MB Notification: Performance of pre-optimization done (n=36): time 2.294e-06/0.567, allocations: 0 / 0.6267 GB, free: 13.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=52): time 0.0226/0.5896, allocations: 5.831 MB / 0.6324 GB, free: 7.613 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.5897, allocations: 59.84 kB / 0.6324 GB, free: 7.543 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.5911, allocations: 0.8789 MB / 0.6333 GB, free: 6.652 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.5912, allocations: 37.7 kB / 0.6333 GB, free: 6.609 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006724/0.5919, allocations: 0.7538 MB / 0.634 GB, free: 5.844 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002425/0.5922, allocations: 185.4 kB / 0.6342 GB, free: 5.66 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004136/0.5926, allocations: 194.5 kB / 0.6344 GB, free: 5.465 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.5928, allocations: 394.8 kB / 0.6348 GB, free: 5.07 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.5942, allocations: 0.6449 MB / 0.6354 GB, free: 4.422 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.5958, allocations: 1.01 MB / 0.6364 GB, free: 3.242 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002916/0.5987, allocations: 1.666 MB / 0.638 GB, free: 1.418 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.5987, allocations: 4 kB / 0.638 GB, free: 1.414 MB / 478.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009211/0.608, allocations: 3.131 MB / 0.6411 GB, free: 14.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.608, allocations: 18.11 kB / 0.6411 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.797e-05/0.608, allocations: 12 kB / 0.6411 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/0.6152, allocations: 1.65 MB / 0.6427 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009989/0.6162, allocations: 223.6 kB / 0.6429 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/0.6323, allocations: 10.59 MB / 0.6533 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.6339, allocations: 167.7 kB / 0.6534 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-05/0.6341, allocations: 51.92 kB / 0.6535 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002421/0.6365, allocations: 1.314 MB / 0.6548 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001531/0.638, allocations: 0.9825 MB / 0.6557 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002662/0.6407, allocations: 1.611 MB / 0.6573 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.514e-06/0.6407, allocations: 8 kB / 0.6573 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007392/0.6481, allocations: 2.654 MB / 0.6599 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.6482, allocations: 8 kB / 0.6599 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.6482, allocations: 12 kB / 0.6599 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004492/0.6527, allocations: 1.071 MB / 0.661 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.6537, allocations: 247.6 kB / 0.6612 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007805/0.6615, allocations: 5.76 MB / 0.6668 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.6629, allocations: 151.8 kB / 0.667 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.663, allocations: 51.92 kB / 0.667 GB, free: 2.496 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.0003576/0.6633, allocations: 240.5 kB / 0.6673 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/0.6635, allocations: 79.06 kB / 0.6673 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007685/0.6712, allocations: 2.578 MB / 0.6698 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.6712, allocations: 4 kB / 0.6699 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6712, allocations: 3.938 kB / 0.6699 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6713, allocations: 0 / 0.6699 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/0.6813, allocations: 4.464 MB / 0.6742 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.6813, allocations: 4 kB / 0.6742 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.6817, allocations: 87.86 kB / 0.6743 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007965/0.6897, allocations: 1.501 MB / 0.6758 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-05/0.6898, allocations: 19.94 kB / 0.6758 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0137/0.7035, allocations: 10.14 MB / 0.6857 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/0.7036, allocations: 4.031 kB / 0.6857 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007622/0.7112, allocations: 2.507 MB / 0.6881 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/0.712, allocations: 260.4 kB / 0.6884 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.7121, allocations: 8 kB / 0.6884 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008539/0.713, allocations: 123.8 kB / 0.6885 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.7133, allocations: 51.88 kB / 0.6886 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.7133, allocations: 19.98 kB / 0.6886 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001096/0.7144, allocations: 0.6434 MB / 0.6892 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7144, allocations: 0 / 0.6892 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002185/0.7166, allocations: 0.5898 MB / 0.6898 GB, free: 10.38 MB / 0.5294 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.000248/0.7169, allocations: 119.1 kB / 0.6899 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006077/0.723, allocations: 3.261 MB / 0.6931 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.723, allocations: 1.875 kB / 0.6931 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.725, allocations: 1.174 MB / 0.6942 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.7262, allocations: 246 kB / 0.6945 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005472/0.7317, allocations: 3.004 MB / 0.6974 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.7332, allocations: 1.622 MB / 0.699 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001367/0.7346, allocations: 0.4943 MB / 0.6995 GB, free: 256 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.7348, allocations: 59.42 kB / 0.6995 GB, free: 196 kB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.7348, allocations: 3.938 kB / 0.6995 GB, free: 192 kB / 0.5294 GB Notification: Performance of Templates: time 0.04323/0.7781, allocations: 24.83 MB / 0.7238 GB, free: 7.527 MB / 0.5606 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)