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.001146/0.001146, allocations: 102.5 kB / 16.52 MB, free: 6.27 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.001082/0.001082, allocations: 197 kB / 17.44 MB, free: 5.887 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6927/0.6927, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.89 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3268, allocations: 76.18 MB / 0.5564 GB, free: 35.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003735/0.3306, allocations: 2.921 MB / 0.5592 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.3327, allocations: 1.656 MB / 0.5609 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.3328, allocations: 7.656 kB / 0.5609 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.3335, allocations: 217 kB / 0.5611 GB, free: 32.39 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.3338, allocations: 167.3 kB / 0.5612 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.3343, allocations: 205.4 kB / 0.5614 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.3347, allocations: 431 kB / 0.5618 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.335, allocations: 182.7 kB / 0.562 GB, free: 32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3352, allocations: 104.8 kB / 0.5621 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.3355, allocations: 157 kB / 0.5623 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.3355, allocations: 14.25 kB / 0.5623 GB, free: 31.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.336, allocations: 308.2 kB / 0.5626 GB, free: 31.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.3361, allocations: 80.8 kB / 0.5626 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3362, allocations: 112.4 kB / 0.5627 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003679/0.3365, allocations: 318.6 kB / 0.5631 GB, free: 31.61 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3366, allocations: 1.906 kB / 0.5631 GB, free: 31.61 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.3366, allocations: 0 / 0.5631 GB, free: 31.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.3366, allocations: 0 / 0.5631 GB, free: 31.61 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.0007918/0.3374, allocations: 0.5383 MB / 0.5636 GB, free: 31.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3374, allocations: 12.78 kB / 0.5636 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006672/0.3381, allocations: 95.52 kB / 0.5637 GB, free: 31.11 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.3384, allocations: 265 kB / 0.5639 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.3384, allocations: 13.14 kB / 0.5639 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.881e-05/0.3384, allocations: 19.72 kB / 0.564 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.3391, allocations: 382 kB / 0.5643 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3391, allocations: 2.297 kB / 0.5643 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.3391, allocations: 11.89 kB / 0.5643 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.444e-05/0.3392, allocations: 20.98 kB / 0.5644 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/0.3398, allocations: 330.1 kB / 0.5647 GB, free: 30.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.3413, allocations: 1.731 MB / 0.5664 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006708/0.342, allocations: 329.8 kB / 0.5667 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002536/0.3422, allocations: 152.4 kB / 0.5668 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.3424, allocations: 91.62 kB / 0.5669 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.3424, allocations: 40.59 kB / 0.567 GB, free: 28.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.3424, allocations: 0 / 0.567 GB, free: 28.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001277/0.3437, allocations: 0.595 MB / 0.5675 GB, free: 28.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.3437, allocations: 79.77 kB / 0.5676 GB, free: 28.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.3439, allocations: 205.8 kB / 0.5678 GB, free: 28.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.3439, allocations: 30.95 kB / 0.5678 GB, free: 28.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.344, allocations: 160.2 kB / 0.568 GB, free: 28.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.3441, allocations: 72.53 kB / 0.5681 GB, free: 27.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.121e-05/0.3442, allocations: 63.02 kB / 0.5681 GB, free: 27.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.3442, allocations: 330.1 kB / 0.5684 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3445, allocations: 135.7 kB / 0.5686 GB, free: 27.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.3448, allocations: 211.5 kB / 0.5688 GB, free: 27.42 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005363/0.3453, allocations: 368.2 kB / 0.5691 GB, free: 27.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3453, allocations: 1.156 kB / 0.5691 GB, free: 27.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000803/0.3461, allocations: 423.7 kB / 0.5695 GB, free: 27.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3462, allocations: 7.578 kB / 0.5695 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3462, allocations: 2.344 kB / 0.5695 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/0.3465, allocations: 48.64 kB / 0.5696 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3468, allocations: 69 kB / 0.5696 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/0.3482, allocations: 1.494 MB / 0.5711 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.3485, allocations: 31.86 kB / 0.5711 GB, free: 25.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.3486, allocations: 12.23 kB / 0.5711 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004034/0.349, allocations: 232.3 kB / 0.5714 GB, free: 25.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003363/0.3493, allocations: 213.4 kB / 0.5716 GB, free: 25.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005496/0.3499, allocations: 347.3 kB / 0.5719 GB, free: 25.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.3499, allocations: 1.156 kB / 0.5719 GB, free: 25.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0008742/0.3508, allocations: 409.3 kB / 0.5723 GB, free: 24.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.3508, allocations: 7.25 kB / 0.5723 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.3508, allocations: 3.719 kB / 0.5723 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.351, allocations: 46.84 kB / 0.5723 GB, free: 24.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.3513, allocations: 73.2 kB / 0.5724 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.3524, allocations: 1.494 MB / 0.5739 GB, free: 23.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.3527, allocations: 25.84 kB / 0.5739 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.3527, allocations: 14.33 kB / 0.5739 GB, free: 23.5 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.0001277/0.3528, allocations: 199.6 kB / 0.5741 GB, free: 23.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.3529, allocations: 22.19 kB / 0.5741 GB, free: 23.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007522/0.3537, allocations: 354 kB / 0.5745 GB, free: 23.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3537, allocations: 8.375 kB / 0.5745 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3537, allocations: 0.6562 kB / 0.5745 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.3537, allocations: 3.312 kB / 0.5745 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.3552, allocations: 0.9641 MB / 0.5754 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3552, allocations: 2.625 kB / 0.5754 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.3554, allocations: 50.97 kB / 0.5755 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001222/0.3555, allocations: 45.77 kB / 0.5755 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3556, allocations: 3.156 kB / 0.5755 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007984/0.3564, allocations: 1.408 MB / 0.5769 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3564, allocations: 2.344 kB / 0.5769 GB, free: 21.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006203/0.357, allocations: 0.5386 MB / 0.5774 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.3571, allocations: 128.3 kB / 0.5775 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.3572, allocations: 5.672 kB / 0.5775 GB, free: 20.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.3574, allocations: 22.08 kB / 0.5776 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.3575, allocations: 19.81 kB / 0.5776 GB, free: 20.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3575, allocations: 11.42 kB / 0.5776 GB, free: 20.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.3576, allocations: 158.6 kB / 0.5777 GB, free: 20.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3577, allocations: 0 / 0.5777 GB, free: 20.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000632/0.3583, allocations: 105.8 kB / 0.5778 GB, free: 20.52 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.0001277/0.3584, allocations: 114.8 kB / 0.578 GB, free: 20.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.3597, allocations: 0.7308 MB / 0.5787 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3597, allocations: 1.375 kB / 0.5787 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.36, allocations: 264.7 kB / 0.5789 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.3605, allocations: 33.27 kB / 0.579 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.3615, allocations: 0.6809 MB / 0.5796 GB, free: 19.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3617, allocations: 0.7711 MB / 0.5804 GB, free: 18.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.3618, allocations: 27.78 kB / 0.5804 GB, free: 18.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3618, allocations: 0 / 0.5804 GB, free: 18.68 MB / 446.1 MB Notification: Performance of Templates: time 0.007107/0.3689, allocations: 4.189 MB / 0.5845 GB, free: 18.14 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)