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.001324/0.001324, allocations: 113.1 kB / 17.04 MB, free: 5.812 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.001464/0.001464, allocations: 195 kB / 17.98 MB, free: 5.027 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3391, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004047/0.3431, allocations: 2.875 MB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.3456, allocations: 1.648 MB / 0.562 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.3458, allocations: 4.844 kB / 0.562 GB, free: 33.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007717/0.3466, allocations: 235.7 kB / 0.5622 GB, free: 33.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004809/0.3471, allocations: 185.8 kB / 0.5624 GB, free: 33.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000614/0.3478, allocations: 227 kB / 0.5626 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.3482, allocations: 310.9 kB / 0.5629 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003196/0.3485, allocations: 177.8 kB / 0.5631 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.3487, allocations: 129.3 kB / 0.5632 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.349, allocations: 147.8 kB / 0.5633 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.3491, allocations: 19.47 kB / 0.5634 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004639/0.3495, allocations: 253.7 kB / 0.5636 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3496, allocations: 89.16 kB / 0.5637 GB, free: 32.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.3498, allocations: 113.4 kB / 0.5638 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006051/0.3504, allocations: 418.8 kB / 0.5642 GB, free: 32.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3504, allocations: 1.469 kB / 0.5642 GB, free: 32.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3504, allocations: 0 / 0.5642 GB, free: 32.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3504, allocations: 1.094 kB / 0.5642 GB, free: 32.66 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.0009083/0.3513, allocations: 0.5329 MB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3514, allocations: 10.84 kB / 0.5647 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007706/0.3522, allocations: 87.72 kB / 0.5648 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3525, allocations: 273.5 kB / 0.5651 GB, free: 31.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.3526, allocations: 17.38 kB / 0.5651 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.3526, allocations: 19.56 kB / 0.5651 GB, free: 31.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.3533, allocations: 378.9 kB / 0.5655 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.3534, allocations: 1.656 kB / 0.5655 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.3534, allocations: 8.469 kB / 0.5655 GB, free: 31.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/0.3535, allocations: 28.88 kB / 0.5655 GB, free: 31.69 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.3541, allocations: 326.2 kB / 0.5658 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.3559, allocations: 1.732 MB / 0.5675 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.3566, allocations: 325.5 kB / 0.5678 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002651/0.3568, allocations: 155.5 kB / 0.568 GB, free: 29.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.357, allocations: 88.25 kB / 0.568 GB, free: 29.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.357, allocations: 38.02 kB / 0.5681 GB, free: 29.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.357, allocations: 0 / 0.5681 GB, free: 29.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001355/0.3584, allocations: 0.5898 MB / 0.5687 GB, free: 29.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.3584, allocations: 88.05 kB / 0.5687 GB, free: 29.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.3586, allocations: 203.7 kB / 0.5689 GB, free: 29.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3587, allocations: 32.02 kB / 0.569 GB, free: 29.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.3587, allocations: 164.8 kB / 0.5691 GB, free: 29.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.3588, allocations: 71.92 kB / 0.5692 GB, free: 29.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3589, allocations: 62.94 kB / 0.5693 GB, free: 28.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.413e-05/0.359, allocations: 331.5 kB / 0.5696 GB, free: 28.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.3592, allocations: 133.1 kB / 0.5697 GB, free: 28.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.3595, allocations: 211.5 kB / 0.5699 GB, free: 28.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005344/0.3601, allocations: 370.5 kB / 0.5703 GB, free: 28.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3601, allocations: 0.875 kB / 0.5703 GB, free: 28.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007798/0.3609, allocations: 424.7 kB / 0.5707 GB, free: 28.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3609, allocations: 6.656 kB / 0.5707 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3609, allocations: 2.375 kB / 0.5707 GB, free: 28.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002269/0.3611, allocations: 45.44 kB / 0.5707 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.3615, allocations: 71.66 kB / 0.5708 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.3626, allocations: 1.609 MB / 0.5724 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.3629, allocations: 34.64 kB / 0.5724 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.3629, allocations: 11.42 kB / 0.5724 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003129/0.3633, allocations: 232.4 kB / 0.5726 GB, free: 26.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002876/0.3636, allocations: 213.1 kB / 0.5728 GB, free: 26.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005089/0.3641, allocations: 345.6 kB / 0.5732 GB, free: 26.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.3641, allocations: 1.812 kB / 0.5732 GB, free: 26.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007618/0.3649, allocations: 413.8 kB / 0.5735 GB, free: 25.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3649, allocations: 10.41 kB / 0.5736 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3649, allocations: 4.188 kB / 0.5736 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.365, allocations: 45.3 kB / 0.5736 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.3653, allocations: 68.98 kB / 0.5737 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.3664, allocations: 1.601 MB / 0.5752 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.3666, allocations: 32.98 kB / 0.5753 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.3667, allocations: 11.91 kB / 0.5753 GB, free: 24.35 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.0001051/0.3668, allocations: 198 kB / 0.5755 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.382e-05/0.3669, allocations: 22.92 kB / 0.5755 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/0.3676, allocations: 361.9 kB / 0.5758 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3676, allocations: 2.219 kB / 0.5758 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3676, allocations: 1.062 kB / 0.5758 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3676, allocations: 3.594 kB / 0.5758 GB, free: 23.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.3691, allocations: 0.9576 MB / 0.5768 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3691, allocations: 3.375 kB / 0.5768 GB, free: 23.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.3693, allocations: 63.3 kB / 0.5768 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.3694, allocations: 34.38 kB / 0.5769 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.3695, allocations: 7.734 kB / 0.5769 GB, free: 23.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009175/0.3704, allocations: 1.515 MB / 0.5784 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3704, allocations: 1.375 kB / 0.5784 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007321/0.3712, allocations: 0.5348 MB / 0.5789 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.3713, allocations: 126.7 kB / 0.579 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.3714, allocations: 16.28 kB / 0.579 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.3717, allocations: 22.61 kB / 0.579 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.3717, allocations: 20.02 kB / 0.5791 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3718, allocations: 7 kB / 0.5791 GB, free: 21.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3719, allocations: 160.9 kB / 0.5792 GB, free: 21.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3719, allocations: 0 / 0.5792 GB, free: 21.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.3726, allocations: 106.4 kB / 0.5793 GB, free: 21.27 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.0001247/0.3727, allocations: 110.9 kB / 0.5794 GB, free: 21.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001322/0.374, allocations: 0.7345 MB / 0.5801 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3741, allocations: 1.062 kB / 0.5801 GB, free: 20.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.3744, allocations: 277.2 kB / 0.5804 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.375, allocations: 34.62 kB / 0.5804 GB, free: 20.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.3759, allocations: 0.5554 MB / 0.581 GB, free: 20.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3762, allocations: 0.7709 MB / 0.5817 GB, free: 19.56 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000262/0.3764, allocations: 86.81 kB / 0.5818 GB, free: 19.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.825e-05/0.3765, allocations: 28.67 kB / 0.5818 GB, free: 19.54 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3765, allocations: 0 / 0.5818 GB, free: 19.54 MB / 446.1 MB Notification: Performance of Templates: time 0.008691/0.3852, allocations: 3.277 MB / 0.585 GB, free: 19.15 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)