Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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/Modelica 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 239.2 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001345, allocations: 188.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4366/0.4366, allocations: 78.53 MB / 418.2 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 75.89 kB / 497.6 MB, free: 6.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.123, allocations: 68.17 MB / 0.5525 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.2201/0.3432, allocations: 7.969 MB / 0.5603 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004511/0.3477, allocations: 2.501 MB / 0.5627 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007989/0.3486, allocations: 12.81 kB / 0.5627 GB, free: 34.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007978/0.3494, allocations: 312.8 kB / 0.563 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.3519, allocations: 1.189 MB / 0.5642 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3532, allocations: 0.6648 MB / 0.5648 GB, free: 34.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.3551, allocations: 2.268 MB / 0.567 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004516/0.3556, allocations: 369.8 kB / 0.5674 GB, free: 33.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000807/0.3564, allocations: 0.8621 MB / 0.5682 GB, free: 33.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008948/0.3573, allocations: 1.105 MB / 0.5693 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.3575, allocations: 173.2 kB / 0.5695 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005837/0.3581, allocations: 356.1 kB / 0.5698 GB, free: 33.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002845/0.3584, allocations: 450.4 kB / 0.5702 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000546/0.359, allocations: 0.8738 MB / 0.5711 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.3606, allocations: 2.16 MB / 0.5732 GB, free: 32.38 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3606, allocations: 0 / 0.5732 GB, free: 32.38 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3606, allocations: 0 / 0.5732 GB, free: 32.38 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.3606, allocations: 0 / 0.5732 GB, free: 32.38 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.0129/0.3735, allocations: 3.804 MB / 0.5769 GB, free: 31.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3736, allocations: 11.97 kB / 0.5769 GB, free: 31.31 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.3738, allocations: 153.9 kB / 0.5771 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/0.378, allocations: 0.7365 MB / 0.5778 GB, free: 31.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.3796, allocations: 1.094 MB / 0.5789 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.38, allocations: 418.9 kB / 0.5793 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001948/0.3802, allocations: 103.3 kB / 0.5794 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.3825, allocations: 1.375 MB / 0.5807 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.3826, allocations: 0 / 0.5807 GB, free: 29.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.3827, allocations: 37.78 kB / 0.5807 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.3827, allocations: 21.53 kB / 0.5808 GB, free: 29.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.3853, allocations: 1.3 MB / 0.582 GB, free: 29.2 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007156/0.3925, allocations: 4.676 MB / 0.5866 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007967/0.4005, allocations: 2.889 MB / 0.5894 GB, free: 25.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.4022, allocations: 0.8971 MB / 0.5903 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/0.4024, allocations: 29.83 kB / 0.5903 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.4045, allocations: 1.046 MB / 0.5914 GB, free: 24.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 2.825e-06/0.4045, allocations: 0 / 0.5914 GB, free: 24.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04211/0.4466, allocations: 9.902 MB / 0.601 GB, free: 22.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.4467, allocations: 118 kB / 0.6011 GB, free: 22.83 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.4489, allocations: 1.35 MB / 0.6025 GB, free: 22.28 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002482/0.4491, allocations: 56.3 kB / 0.6025 GB, free: 22.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.4495, allocations: 0.5704 MB / 0.6031 GB, free: 21.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/0.4499, allocations: 454.3 kB / 0.6035 GB, free: 21.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005653/0.4505, allocations: 323.9 kB / 0.6038 GB, free: 21.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.4505, allocations: 306.7 kB / 0.6041 GB, free: 20.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/0.4525, allocations: 0.9595 MB / 0.605 GB, free: 20.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002063/0.4546, allocations: 1.145 MB / 0.6062 GB, free: 19.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/0.4585, allocations: 2.05 MB / 0.6082 GB, free: 18.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.4586, allocations: 1.875 kB / 0.6082 GB, free: 18.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009679/0.4682, allocations: 3.821 MB / 0.6119 GB, free: 16.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4683, allocations: 10.81 kB / 0.6119 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.4683, allocations: 4.125 kB / 0.6119 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008914/0.4772, allocations: 2.676 MB / 0.6145 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.4785, allocations: 299.5 kB / 0.6148 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005426/0.484, allocations: 2.692 MB / 0.6174 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/0.4861, allocations: 246.3 kB / 0.6177 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.4862, allocations: 63.98 kB / 0.6177 GB, free: 11.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.000509/0.4867, allocations: 297.5 kB / 0.618 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/0.487, allocations: 150.1 kB / 0.6182 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.5013, allocations: 4.765 MB / 0.6228 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5013, allocations: 12 kB / 0.6228 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.5013, allocations: 0.6875 kB / 0.6228 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.5013, allocations: 7.984 kB / 0.6228 GB, free: 6.641 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01602/0.5173, allocations: 6.857 MB / 0.6295 GB, free: 15.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.5174, allocations: 11.92 kB / 0.6295 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007471/0.5181, allocations: 131.8 kB / 0.6297 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007351/0.5255, allocations: 2.156 MB / 0.6318 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.5256, allocations: 24 kB / 0.6318 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02551/0.5511, allocations: 10.08 MB / 0.6416 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5512, allocations: 1 kB / 0.6416 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01881/0.57, allocations: 5.915 MB / 0.6474 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006779/0.5707, allocations: 266.8 kB / 0.6477 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006428/0.5714, allocations: 27.98 kB / 0.6477 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.5734, allocations: 139.8 kB / 0.6478 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009416/0.5743, allocations: 257.3 kB / 0.6481 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/0.5745, allocations: 35.98 kB / 0.6481 GB, free: 12.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001797/0.5763, allocations: 0.9095 MB / 0.649 GB, free: 11.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5763, allocations: 5.125 kB / 0.649 GB, free: 11.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001792/0.5781, allocations: 0.5113 MB / 0.6495 GB, free: 10.99 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02004/0.5982, allocations: 6.511 MB / 0.6558 GB, free: 4.434 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009833/0.608, allocations: 2.852 MB / 0.6586 GB, free: 1.586 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.6081, allocations: 0 / 0.6586 GB, free: 1.586 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006265/0.6143, allocations: 1.921 MB / 0.6605 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.6156, allocations: 135.5 kB / 0.6606 GB, free: 15.52 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04541/0.661, allocations: 20.18 MB / 0.6803 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008998/0.6619, allocations: 1.204 MB / 0.6815 GB, free: 9.434 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005849/0.6625, allocations: 143.8 kB / 0.6817 GB, free: 9.297 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008396/0.6634, allocations: 0.5735 MB / 0.6822 GB, free: 8.723 MB / 494.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6634, allocations: 0 / 0.6822 GB, free: 8.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06719/0.7306, allocations: 41.62 MB / 0.7229 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.15, allocations: 4 kB / 0.7229 GB, free: 15.37 MB / 0.5294 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)