Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 94.27 kB / 15.7 MB, free: 448 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.001708/0.001709, allocations: 175 kB / 16.58 MB, free: 6.418 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.404/1.404, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6802/0.6802, allocations: 115.5 MB / 407.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 8 kB / 495.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1625, allocations: 77.53 MB / 0.5593 GB, free: 9.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01252/0.1751, allocations: 10.78 MB / 0.5699 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008655/0.1838, allocations: 5.208 MB / 0.5749 GB, free: 9.375 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.185, allocations: 31.88 kB / 0.575 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.1861, allocations: 294 kB / 0.5753 GB, free: 9.055 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.1876, allocations: 0.525 MB / 0.5758 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.189, allocations: 0.4898 MB / 0.5763 GB, free: 8.039 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003031/0.192, allocations: 2.93 MB / 0.5791 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005222/0.1973, allocations: 3.873 MB / 0.5829 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.1985, allocations: 0.7746 MB / 0.5837 GB, free: 412 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3492/0.5477, allocations: 1.078 MB / 0.5847 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004369/0.5482, allocations: 104.1 kB / 0.5848 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001467/0.5496, allocations: 319.2 kB / 0.5851 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001161/0.5508, allocations: 0.7462 MB / 0.5858 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005458/0.5514, allocations: 367 kB / 0.5862 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004776/0.5562, allocations: 3.277 MB / 0.5894 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5562, allocations: 0 / 0.5894 GB, free: 14.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5562, allocations: 0 / 0.5894 GB, free: 14.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.496e-05/0.5563, allocations: 0.875 kB / 0.5894 GB, free: 14.54 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005066/0.5614, allocations: 1.777 MB / 0.5911 GB, free: 13.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5614, allocations: 9.094 kB / 0.5911 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003502/0.5649, allocations: 0.7445 MB / 0.5919 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/0.5677, allocations: 1.235 MB / 0.5931 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.5678, allocations: 121.5 kB / 0.5932 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004128/0.5682, allocations: 161.6 kB / 0.5933 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008939/0.5772, allocations: 2.944 MB / 0.5962 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.666e-05/0.5773, allocations: 4.625 kB / 0.5962 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002845/0.5776, allocations: 73.7 kB / 0.5963 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005288/0.5781, allocations: 199.4 kB / 0.5965 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005508/0.5837, allocations: 2.505 MB / 0.5989 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01276/0.5964, allocations: 10.9 MB / 0.6096 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.5978, allocations: 0.9214 MB / 0.6105 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007099/0.5985, allocations: 0.5049 MB / 0.611 GB, free: 6.191 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.5986, allocations: 90.72 kB / 0.611 GB, free: 6.094 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.5986, allocations: 46.48 kB / 0.6111 GB, free: 6.043 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 5.851e-06/0.5987, allocations: 0 / 0.6111 GB, free: 6.043 MB / 446.1 MB Notification: Performance of matching and sorting (n=70): time 0.02521/0.6239, allocations: 8.973 MB / 0.6199 GB, free: 1.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.624, allocations: 87.11 kB / 0.6199 GB, free: 1.406 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.6261, allocations: 0.9428 MB / 0.6209 GB, free: 0.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.6262, allocations: 37.83 kB / 0.6209 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.6267, allocations: 0.7725 MB / 0.6216 GB, free: 156 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.627, allocations: 258.9 kB / 0.6219 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.6271, allocations: 19.66 kB / 0.6219 GB, free: 15.92 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002544/0.6274, allocations: 392.6 kB / 0.6223 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.6288, allocations: 0.8003 MB / 0.6231 GB, free: 15.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.6303, allocations: 1.16 MB / 0.6242 GB, free: 14.24 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.6317, allocations: 0.9956 MB / 0.6252 GB, free: 13.72 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6317, allocations: 7.719 kB / 0.6252 GB, free: 13.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009034/0.6407, allocations: 3.775 MB / 0.6289 GB, free: 11.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000382/0.6411, allocations: 416.4 kB / 0.6293 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.6412, allocations: 11.91 kB / 0.6293 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007836/0.649, allocations: 2.163 MB / 0.6314 GB, free: 9.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009909/0.65, allocations: 222.7 kB / 0.6316 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/0.6662, allocations: 10.26 MB / 0.6416 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.6681, allocations: 195.6 kB / 0.6418 GB, free: 14.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/0.6683, allocations: 47.98 kB / 0.6419 GB, free: 14.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.6684, allocations: 4 kB / 0.6419 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007853/0.6762, allocations: 3.077 MB / 0.6449 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.972e-05/0.6763, allocations: 12.84 kB / 0.6449 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004922/0.6812, allocations: 1.37 MB / 0.6462 GB, free: 9.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.6826, allocations: 281.8 kB / 0.6465 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.693, allocations: 6.157 MB / 0.6525 GB, free: 3.445 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.6946, allocations: 171.7 kB / 0.6527 GB, free: 3.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/0.6949, allocations: 47.98 kB / 0.6527 GB, free: 3.23 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.002163/0.6971, allocations: 0.894 MB / 0.6536 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.6975, allocations: 86.97 kB / 0.6537 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00879/0.7063, allocations: 3.325 MB / 0.6569 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.7063, allocations: 15.8 kB / 0.6569 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.7063, allocations: 4 kB / 0.6569 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/0.7064, allocations: 3.984 kB / 0.6569 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.7201, allocations: 5.489 MB / 0.6623 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/0.7202, allocations: 0 / 0.6623 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004989/0.7207, allocations: 111.8 kB / 0.6624 GB, free: 9.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006895/0.7276, allocations: 1.977 MB / 0.6643 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/0.7278, allocations: 12 kB / 0.6643 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/0.7439, allocations: 9.664 MB / 0.6738 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.7439, allocations: 4.656 kB / 0.6738 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008764/0.7527, allocations: 3.202 MB / 0.6769 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009927/0.7537, allocations: 335.9 kB / 0.6772 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004281/0.7542, allocations: 16 kB / 0.6772 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.7554, allocations: 151.8 kB / 0.6774 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/0.7558, allocations: 66.94 kB / 0.6775 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-05/0.7559, allocations: 20 kB / 0.6775 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001706/0.7576, allocations: 0.6734 MB / 0.6781 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7576, allocations: 0 / 0.6781 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003889/0.7615, allocations: 0.7109 MB / 0.6788 GB, free: 8.152 MB / 0.4981 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003507/0.7619, allocations: 129.5 kB / 0.6789 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00822/0.7701, allocations: 3.899 MB / 0.6828 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.7702, allocations: 0.75 kB / 0.6828 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002276/0.7724, allocations: 1.317 MB / 0.684 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.7743, allocations: 266.1 kB / 0.6843 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008177/0.7825, allocations: 4.074 MB / 0.6883 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.785, allocations: 1.726 MB / 0.69 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001679/0.7867, allocations: 0.511 MB / 0.6905 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.787, allocations: 65.72 kB / 0.6905 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.787, allocations: 0 / 0.6905 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.05055/0.8376, allocations: 29.61 MB / 0.7194 GB, free: 14.8 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)