Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008084/0.0008084, allocations: 92.2 kB / 16.66 MB, free: 5.742 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.0009193/0.0009194, allocations: 179 kB / 17.58 MB, free: 5.477 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.375/1.375, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7684/0.7684, allocations: 115.5 MB / 408.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 8 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4522, allocations: 77.52 MB / 0.5606 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003039/0.4553, allocations: 2.567 MB / 0.5631 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.4577, allocations: 1.626 MB / 0.5647 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.4578, allocations: 3.344 kB / 0.5647 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.458, allocations: 34.19 kB / 0.5647 GB, free: 32.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.4584, allocations: 164.7 kB / 0.5649 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005082/0.4589, allocations: 212.5 kB / 0.5651 GB, free: 32.37 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004636/0.4594, allocations: 432 kB / 0.5655 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007077/0.4601, allocations: 390.9 kB / 0.5659 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.4603, allocations: 99.45 kB / 0.5659 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002611/0.4606, allocations: 138.1 kB / 0.5661 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.791e-05/0.4606, allocations: 10.25 kB / 0.5661 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004946/0.4611, allocations: 309.3 kB / 0.5664 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.4612, allocations: 75.81 kB / 0.5665 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.4614, allocations: 132.3 kB / 0.5666 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004623/0.4618, allocations: 316.2 kB / 0.5669 GB, free: 31.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4618, allocations: 0 / 0.5669 GB, free: 31.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4619, allocations: 1.656 kB / 0.5669 GB, free: 31.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.4619, allocations: 0.9688 kB / 0.5669 GB, free: 31.6 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007616/0.4626, allocations: 0.5031 MB / 0.5674 GB, free: 31.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4627, allocations: 15.78 kB / 0.5674 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006943/0.4634, allocations: 89.2 kB / 0.5675 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.4637, allocations: 262.3 kB / 0.5677 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.4637, allocations: 18.98 kB / 0.5677 GB, free: 30.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.4638, allocations: 17 kB / 0.5678 GB, free: 30.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006487/0.4644, allocations: 389.7 kB / 0.5681 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.4644, allocations: 2.375 kB / 0.5681 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.4645, allocations: 6.531 kB / 0.5681 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.128e-05/0.4645, allocations: 26.73 kB / 0.5682 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006344/0.4652, allocations: 335.5 kB / 0.5685 GB, free: 30.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.4668, allocations: 1.732 MB / 0.5702 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007467/0.4676, allocations: 331.8 kB / 0.5705 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002884/0.4679, allocations: 156.4 kB / 0.5706 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001315/0.468, allocations: 92.31 kB / 0.5707 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.4681, allocations: 33.12 kB / 0.5708 GB, free: 28.76 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.733e-06/0.4681, allocations: 0 / 0.5708 GB, free: 28.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001398/0.4695, allocations: 0.6142 MB / 0.5714 GB, free: 28.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.4695, allocations: 86.39 kB / 0.5714 GB, free: 28.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.4697, allocations: 198.8 kB / 0.5716 GB, free: 28.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.4697, allocations: 30.77 kB / 0.5717 GB, free: 28.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.4698, allocations: 161.8 kB / 0.5718 GB, free: 28.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.4699, allocations: 71.53 kB / 0.5719 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-05/0.47, allocations: 29.66 kB / 0.5719 GB, free: 27.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.305e-05/0.47, allocations: 338.8 kB / 0.5722 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.4703, allocations: 136.3 kB / 0.5724 GB, free: 27.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003107/0.4706, allocations: 217.6 kB / 0.5726 GB, free: 27.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005846/0.4712, allocations: 381.7 kB / 0.5729 GB, free: 27.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4712, allocations: 1.25 kB / 0.5729 GB, free: 27.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008276/0.4721, allocations: 435.5 kB / 0.5734 GB, free: 27.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.923e-05/0.4722, allocations: 170.5 kB / 0.5735 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4722, allocations: 3.625 kB / 0.5735 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.4724, allocations: 45.14 kB / 0.5736 GB, free: 26.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003169/0.4728, allocations: 80.14 kB / 0.5736 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.4739, allocations: 1.494 MB / 0.5751 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.4742, allocations: 31.48 kB / 0.5751 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.4742, allocations: 16.5 kB / 0.5752 GB, free: 25.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.4742, allocations: 5.125 kB / 0.5752 GB, free: 25.43 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007493/0.475, allocations: 371.2 kB / 0.5755 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.475, allocations: 6.594 kB / 0.5755 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/0.4751, allocations: 39.22 kB / 0.5756 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002721/0.4754, allocations: 72.27 kB / 0.5756 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009623/0.4764, allocations: 1.478 MB / 0.5771 GB, free: 23.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.4766, allocations: 36 kB / 0.5771 GB, free: 23.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.4766, allocations: 11.84 kB / 0.5771 GB, free: 23.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.4768, allocations: 233.5 kB / 0.5773 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.4769, allocations: 22.78 kB / 0.5774 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007471/0.4776, allocations: 371.2 kB / 0.5777 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4776, allocations: 3.031 kB / 0.5777 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4776, allocations: 1.062 kB / 0.5777 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4777, allocations: 5.484 kB / 0.5777 GB, free: 23.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.4791, allocations: 0.9698 MB / 0.5787 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4791, allocations: 2.844 kB / 0.5787 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.4794, allocations: 57.02 kB / 0.5787 GB, free: 22.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.4795, allocations: 40.94 kB / 0.5788 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.4795, allocations: 7.125 kB / 0.5788 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008528/0.4804, allocations: 1.399 MB / 0.5801 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.4804, allocations: 5.969 kB / 0.5801 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000682/0.4811, allocations: 0.5483 MB / 0.5807 GB, free: 21.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/0.4812, allocations: 130.5 kB / 0.5808 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.4812, allocations: 8.125 kB / 0.5808 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.4815, allocations: 20.11 kB / 0.5808 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.4815, allocations: 24.36 kB / 0.5808 GB, free: 21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.4816, allocations: 6.875 kB / 0.5809 GB, free: 21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000129/0.4817, allocations: 156.6 kB / 0.581 GB, free: 20.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4817, allocations: 4 kB / 0.581 GB, free: 20.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006341/0.4823, allocations: 109.1 kB / 0.5811 GB, free: 20.88 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001439/0.4825, allocations: 113 kB / 0.5812 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.4838, allocations: 0.7444 MB / 0.5819 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4838, allocations: 5.344 kB / 0.582 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.4842, allocations: 273.7 kB / 0.5822 GB, free: 20.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.4848, allocations: 28.22 kB / 0.5822 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.4858, allocations: 0.6994 MB / 0.5829 GB, free: 19.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.486, allocations: 0.7715 MB / 0.5837 GB, free: 19.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.4861, allocations: 26.41 kB / 0.5837 GB, free: 19.02 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4861, allocations: 5.469 kB / 0.5837 GB, free: 19.02 MB / 446.1 MB Notification: Performance of Templates: time 0.007483/0.4936, allocations: 4.157 MB / 0.5878 GB, free: 18.31 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)