Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 109.8 kB / 17.03 MB, free: 6.094 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.001161/0.001161, allocations: 190.9 kB / 17.97 MB, free: 5.191 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.312/1.312, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7624/0.7624, allocations: 115.1 MB / 406.9 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 59.91 kB / 494.8 MB, free: 15.9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3831, allocations: 76.14 MB / 0.5576 GB, free: 36.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.005072/0.3882, allocations: 4.369 MB / 0.5618 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.3925, allocations: 3.226 MB / 0.565 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.3928, allocations: 12.56 kB / 0.565 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.3943, allocations: 0.5046 MB / 0.5655 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.3953, allocations: 385.8 kB / 0.5659 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007735/0.3961, allocations: 256.2 kB / 0.5661 GB, free: 31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000775/0.3969, allocations: 0.598 MB / 0.5667 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007785/0.3977, allocations: 0.5237 MB / 0.5672 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.3981, allocations: 274.2 kB / 0.5675 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.3986, allocations: 274.2 kB / 0.5677 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.687e-05/0.3987, allocations: 40.06 kB / 0.5678 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006975/0.3994, allocations: 296.3 kB / 0.568 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.3996, allocations: 161.7 kB / 0.5682 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002634/0.3999, allocations: 230.8 kB / 0.5684 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.4009, allocations: 0.7765 MB / 0.5692 GB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4009, allocations: 0.8125 kB / 0.5692 GB, free: 29.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.401, allocations: 1.156 kB / 0.5692 GB, free: 29.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.401, allocations: 0 / 0.5692 GB, free: 29.81 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001215/0.4022, allocations: 0.7701 MB / 0.5699 GB, free: 29.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.4022, allocations: 10.53 kB / 0.5699 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002776/0.405, allocations: 0.6554 MB / 0.5706 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.4058, allocations: 463 kB / 0.571 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.4058, allocations: 21.38 kB / 0.571 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.249e-05/0.4059, allocations: 32.09 kB / 0.5711 GB, free: 28.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.4075, allocations: 0.7753 MB / 0.5718 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.4076, allocations: 3 kB / 0.5718 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.4076, allocations: 15.34 kB / 0.5718 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001371/0.4078, allocations: 42.52 kB / 0.5719 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.41, allocations: 0.8548 MB / 0.5727 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.4139, allocations: 2.794 MB / 0.5755 GB, free: 26.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.4154, allocations: 0.4968 MB / 0.5759 GB, free: 26.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.4162, allocations: 252.1 kB / 0.5762 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.4163, allocations: 89.86 kB / 0.5763 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.4163, allocations: 36.03 kB / 0.5763 GB, free: 26.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.785e-06/0.4163, allocations: 0 / 0.5763 GB, free: 26.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.01071/0.427, allocations: 2.966 MB / 0.5792 GB, free: 25.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.4271, allocations: 61.72 kB / 0.5793 GB, free: 25.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004586/0.4276, allocations: 405.2 kB / 0.5796 GB, free: 25.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.4276, allocations: 27.36 kB / 0.5797 GB, free: 24.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4277, allocations: 240.1 kB / 0.5799 GB, free: 24.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.4278, allocations: 81.23 kB / 0.58 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4279, allocations: 67.53 kB / 0.58 GB, free: 24.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.751e-05/0.428, allocations: 348.4 kB / 0.5804 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007557/0.4288, allocations: 356.5 kB / 0.5807 GB, free: 24.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007522/0.4295, allocations: 424.5 kB / 0.5811 GB, free: 23.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.431, allocations: 0.7283 MB / 0.5818 GB, free: 23.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.431, allocations: 1.438 kB / 0.5818 GB, free: 23.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004369/0.4354, allocations: 1.469 MB / 0.5833 GB, free: 22.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4354, allocations: 4.406 kB / 0.5833 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4355, allocations: 3.188 kB / 0.5833 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00331/0.4388, allocations: 0.7702 MB / 0.584 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.4393, allocations: 124.9 kB / 0.5841 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005491/0.4448, allocations: 4.841 MB / 0.5889 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007044/0.4455, allocations: 111.8 kB / 0.589 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.4456, allocations: 10.22 kB / 0.589 GB, free: 18.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009263/0.4465, allocations: 0.5183 MB / 0.5895 GB, free: 17.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007335/0.4473, allocations: 406.3 kB / 0.5899 GB, free: 17.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001423/0.4487, allocations: 0.71 MB / 0.5906 GB, free: 17.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.4487, allocations: 5.281 kB / 0.5906 GB, free: 17.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization_lambda0): time 0.00366/0.4524, allocations: 1.243 MB / 0.5918 GB, free: 16.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.4524, allocations: 6.531 kB / 0.5918 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.4524, allocations: 1.156 kB / 0.5918 GB, free: 16.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.4545, allocations: 0.4953 MB / 0.5923 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.4551, allocations: 131.1 kB / 0.5924 GB, free: 16.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.4578, allocations: 2.601 MB / 0.5949 GB, free: 13.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006631/0.4584, allocations: 107.8 kB / 0.595 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.4585, allocations: 12 kB / 0.5951 GB, free: 13.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.4586, allocations: 209.5 kB / 0.5953 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/0.4587, allocations: 39.52 kB / 0.5953 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.4625, allocations: 1.338 MB / 0.5966 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4625, allocations: 4 kB / 0.5966 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.4625, allocations: 4.141 kB / 0.5966 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4625, allocations: 11.91 kB / 0.5966 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00447/0.467, allocations: 1.982 MB / 0.5986 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.467, allocations: 4.094 kB / 0.5986 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.4674, allocations: 71.91 kB / 0.5986 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/0.4701, allocations: 0.7154 MB / 0.5993 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.4701, allocations: 3.938 kB / 0.5993 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004381/0.4745, allocations: 4.668 MB / 0.6039 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.4745, allocations: 7.922 kB / 0.6039 GB, free: 3.934 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/0.4782, allocations: 1.365 MB / 0.6052 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.4785, allocations: 156.7 kB / 0.6054 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.393e-05/0.4786, allocations: 8 kB / 0.6054 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005079/0.4791, allocations: 91.84 kB / 0.6055 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4792, allocations: 23.91 kB / 0.6055 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.4793, allocations: 8 kB / 0.6055 GB, free: 2.238 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002822/0.4795, allocations: 299.1 kB / 0.6058 GB, free: 1.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4795, allocations: 0 / 0.6058 GB, free: 1.949 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000789/0.4803, allocations: 200 kB / 0.606 GB, free: 1.754 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001667/0.4805, allocations: 107.2 kB / 0.6061 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002851/0.4834, allocations: 1.542 MB / 0.6076 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4834, allocations: 0 / 0.6076 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.4845, allocations: 0.6286 MB / 0.6082 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006681/0.4852, allocations: 123.3 kB / 0.6083 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.487, allocations: 1.055 MB / 0.6094 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.4875, allocations: 0.9171 MB / 0.6102 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004158/0.4879, allocations: 143.2 kB / 0.6104 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.4881, allocations: 35.41 kB / 0.6104 GB, free: 13.08 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4881, allocations: 0 / 0.6104 GB, free: 13.08 MB / 462.1 MB Notification: Performance of Templates: time 0.01673/0.5048, allocations: 12.16 MB / 0.6223 GB, free: 1.012 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)