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.00136/0.00136, allocations: 102.8 kB / 16.27 MB, free: 5.957 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.001465/0.001466, allocations: 186.5 kB / 17.19 MB, free: 5.594 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.317/1.317, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7676/0.7676, allocations: 126.3 MB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.4953 GB, free: 3.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3583, allocations: 78.78 MB / 0.5723 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01303/0.3714, allocations: 11.83 MB / 0.5838 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007668/0.3791, allocations: 5.484 MB / 0.5892 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.3804, allocations: 38 kB / 0.5892 GB, free: 18.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.383, allocations: 1.046 MB / 0.5902 GB, free: 17.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.3845, allocations: 0.6533 MB / 0.5909 GB, free: 17.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.3865, allocations: 0.9155 MB / 0.5918 GB, free: 16.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002382/0.3889, allocations: 2.456 MB / 0.5942 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00303/0.3919, allocations: 3.578 MB / 0.5977 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001255/0.3932, allocations: 1.103 MB / 0.5987 GB, free: 11.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.3942, allocations: 1.207 MB / 0.5999 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002414/0.3944, allocations: 228 kB / 0.6001 GB, free: 9.664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008345/0.3953, allocations: 0.5228 MB / 0.6006 GB, free: 9.141 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005402/0.3958, allocations: 0.9045 MB / 0.6015 GB, free: 8.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007092/0.3966, allocations: 0.9961 MB / 0.6025 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.3986, allocations: 3.541 MB / 0.606 GB, free: 3.684 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3986, allocations: 0 / 0.606 GB, free: 3.684 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3986, allocations: 4 kB / 0.606 GB, free: 3.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.3987, allocations: 0 / 0.606 GB, free: 3.68 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.002927/0.4016, allocations: 1.94 MB / 0.6079 GB, free: 1.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.4016, allocations: 8.031 kB / 0.6079 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.404, allocations: 0.4906 MB / 0.6083 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.4054, allocations: 1.105 MB / 0.6094 GB, free: 36 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.588e-05/0.4055, allocations: 111.5 kB / 0.6095 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.4058, allocations: 156 kB / 0.6097 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003986/0.4098, allocations: 2.761 MB / 0.6124 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.4098, allocations: 0 / 0.6124 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.41, allocations: 64 kB / 0.6124 GB, free: 12.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003112/0.4103, allocations: 150.9 kB / 0.6126 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/0.4141, allocations: 2.303 MB / 0.6148 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.4254, allocations: 10.48 MB / 0.6251 GB, free: 15.06 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.4268, allocations: 0.6159 MB / 0.6257 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/0.4275, allocations: 388.6 kB / 0.626 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.4276, allocations: 89.09 kB / 0.6261 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.4277, allocations: 54.28 kB / 0.6262 GB, free: 13.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=36): time 2.504e-06/0.4277, allocations: 0 / 0.6262 GB, free: 13.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=52): time 0.02225/0.4499, allocations: 5.824 MB / 0.6319 GB, free: 8.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.45, allocations: 55.84 kB / 0.6319 GB, free: 7.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.4512, allocations: 0.8828 MB / 0.6328 GB, free: 7.047 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.644e-05/0.4513, allocations: 37.7 kB / 0.6328 GB, free: 7.004 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004713/0.4517, allocations: 0.7538 MB / 0.6335 GB, free: 6.238 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.4519, allocations: 189.4 kB / 0.6337 GB, free: 6.051 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.4523, allocations: 194.5 kB / 0.6339 GB, free: 5.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4524, allocations: 386.8 kB / 0.6343 GB, free: 5.469 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.4536, allocations: 0.6527 MB / 0.6349 GB, free: 4.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.4549, allocations: 1.006 MB / 0.6359 GB, free: 3.641 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002469/0.4574, allocations: 1.666 MB / 0.6375 GB, free: 1.816 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.4574, allocations: 4 kB / 0.6375 GB, free: 1.812 MB / 478.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.008829/0.4662, allocations: 3.127 MB / 0.6406 GB, free: 14.67 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.4663, allocations: 12 kB / 0.6406 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.4663, allocations: 12 kB / 0.6406 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007089/0.4734, allocations: 1.654 MB / 0.6422 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.4747, allocations: 227.6 kB / 0.6424 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/0.4887, allocations: 10.6 MB / 0.6528 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4903, allocations: 163.7 kB / 0.653 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.66e-05/0.4904, allocations: 43.98 kB / 0.653 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002347/0.4927, allocations: 1.317 MB / 0.6543 GB, free: 68 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00133/0.4941, allocations: 0.9787 MB / 0.6552 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002308/0.4964, allocations: 1.615 MB / 0.6568 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.214e-06/0.4964, allocations: 4 kB / 0.6568 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.007181/0.5036, allocations: 2.658 MB / 0.6594 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.5037, allocations: 12 kB / 0.6594 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/0.5037, allocations: 12 kB / 0.6594 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004522/0.5082, allocations: 1.071 MB / 0.6605 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.5094, allocations: 251.5 kB / 0.6607 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007327/0.5168, allocations: 5.748 MB / 0.6663 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.5182, allocations: 159.8 kB / 0.6665 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/0.5183, allocations: 51.92 kB / 0.6665 GB, free: 2.883 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.0003091/0.5186, allocations: 249.8 kB / 0.6668 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.5188, allocations: 71.16 kB / 0.6668 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007697/0.5265, allocations: 2.571 MB / 0.6694 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.5265, allocations: 11.92 kB / 0.6694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.5266, allocations: 4 kB / 0.6694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.5266, allocations: 0 / 0.6694 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009915/0.5365, allocations: 4.46 MB / 0.6737 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.5365, allocations: 0 / 0.6737 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.5369, allocations: 95.86 kB / 0.6738 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005989/0.5429, allocations: 1.494 MB / 0.6753 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.5431, allocations: 15.92 kB / 0.6753 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.555, allocations: 10.14 MB / 0.6852 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.555, allocations: 0 / 0.6852 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007152/0.5622, allocations: 2.504 MB / 0.6876 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.5628, allocations: 260.1 kB / 0.6879 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001488/0.5629, allocations: 16 kB / 0.6879 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/0.5638, allocations: 115.8 kB / 0.688 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.5641, allocations: 59.81 kB / 0.6881 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.5641, allocations: 16 kB / 0.6881 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009379/0.5651, allocations: 0.6434 MB / 0.6887 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5651, allocations: 3.938 kB / 0.6887 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002107/0.5672, allocations: 0.5859 MB / 0.6893 GB, free: 10.78 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.0002153/0.5674, allocations: 119.2 kB / 0.6894 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005535/0.573, allocations: 3.261 MB / 0.6926 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/0.573, allocations: 9.938 kB / 0.6926 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.5748, allocations: 1.178 MB / 0.6937 GB, free: 6.078 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.576, allocations: 235.8 kB / 0.694 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005258/0.5813, allocations: 3.002 MB / 0.6969 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.5829, allocations: 1.626 MB / 0.6985 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001414/0.5843, allocations: 0.4982 MB / 0.699 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.5845, allocations: 59.42 kB / 0.699 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of SimCode: time 1.784e-06/0.5845, allocations: 0 / 0.699 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of Templates: time 0.03794/0.6224, allocations: 24.84 MB / 0.7233 GB, free: 7.922 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)