Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.131/0.131, allocations: 12.2 MB / 27.17 MB, free: 1.926 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009538/0.000954, allocations: 105.8 kB / 30.68 MB, free: 5 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.4 MB / 239.5 MB, free: 11.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 172.5 kB / 290.6 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5072/0.5072, allocations: 78.55 MB / 420.1 MB, free: 48.63 MB / 334.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008789/0.000879, allocations: 28.16 kB / 0.4896 GB, free: 2.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4292, allocations: 69.21 MB / 0.5572 GB, free: 43.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008268/0.4375, allocations: 7.37 MB / 0.5644 GB, free: 40.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006312/0.4439, allocations: 2.374 MB / 0.5667 GB, free: 39.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.4459, allocations: 14.25 kB / 0.5667 GB, free: 39.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.4471, allocations: 216.5 kB / 0.5669 GB, free: 38.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003953/0.451, allocations: 1.004 MB / 0.5679 GB, free: 38.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001715/0.4527, allocations: 0.5593 MB / 0.5684 GB, free: 38.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003626/0.4564, allocations: 2.016 MB / 0.5704 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006402/0.457, allocations: 308 kB / 0.5707 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.4585, allocations: 0.7347 MB / 0.5714 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.4596, allocations: 0.9818 MB / 0.5724 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.4598, allocations: 85.31 kB / 0.5724 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007449/0.4605, allocations: 239.7 kB / 0.5727 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003194/0.4608, allocations: 356.8 kB / 0.573 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003103/0.4612, allocations: 281.5 kB / 0.5733 GB, free: 35.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001437/0.4626, allocations: 1.617 MB / 0.5749 GB, free: 35.33 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4626, allocations: 0.6562 kB / 0.5749 GB, free: 35.33 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4626, allocations: 0 / 0.5749 GB, free: 35.33 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.4627, allocations: 3.938 kB / 0.5749 GB, free: 35.33 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.01194/0.4746, allocations: 3.616 MB / 0.5784 GB, free: 34.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.4747, allocations: 12.73 kB / 0.5784 GB, free: 34.03 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004195/0.4751, allocations: 147.6 kB / 0.5785 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004364/0.4795, allocations: 0.7572 MB / 0.5793 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.4815, allocations: 1.035 MB / 0.5803 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003783/0.4819, allocations: 440.7 kB / 0.5807 GB, free: 32.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.4821, allocations: 102.6 kB / 0.5808 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002551/0.4846, allocations: 1.438 MB / 0.5822 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.4847, allocations: 1.547 kB / 0.5822 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.4848, allocations: 44.83 kB / 0.5823 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.4848, allocations: 23.53 kB / 0.5823 GB, free: 32.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002533/0.4874, allocations: 1.382 MB / 0.5836 GB, free: 31.68 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.007512/0.4949, allocations: 4.748 MB / 0.5883 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00744/0.5023, allocations: 3.445 MB / 0.5916 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001961/0.5043, allocations: 0.9864 MB / 0.5926 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.5045, allocations: 25.48 kB / 0.5926 GB, free: 27.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002265/0.5068, allocations: 1.119 MB / 0.5937 GB, free: 26.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 9.919e-06/0.5068, allocations: 0 / 0.5937 GB, free: 26.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04512/0.552, allocations: 12.02 MB / 0.6055 GB, free: 23.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.5521, allocations: 116.4 kB / 0.6056 GB, free: 23.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003399/0.5555, allocations: 1.341 MB / 0.6069 GB, free: 23.05 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004737/0.556, allocations: 51.55 kB / 0.6069 GB, free: 23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/0.5566, allocations: 0.567 MB / 0.6075 GB, free: 22.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007968/0.5574, allocations: 450.7 kB / 0.6079 GB, free: 22.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003627/0.5578, allocations: 35.44 kB / 0.6079 GB, free: 22.08 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.558, allocations: 376.8 kB / 0.6083 GB, free: 21.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.5605, allocations: 1.025 MB / 0.6093 GB, free: 21.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00269/0.5632, allocations: 1.229 MB / 0.6105 GB, free: 20.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/0.5659, allocations: 1.102 MB / 0.6116 GB, free: 20.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-05/0.5659, allocations: 0.9375 kB / 0.6116 GB, free: 20.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009277/0.5752, allocations: 3.982 MB / 0.6155 GB, free: 16.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.5753, allocations: 12 kB / 0.6155 GB, free: 16.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.5753, allocations: 0 / 0.6155 GB, free: 16.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008522/0.5839, allocations: 3.058 MB / 0.6185 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.5855, allocations: 295.6 kB / 0.6187 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00616/0.5917, allocations: 3.015 MB / 0.6217 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.5945, allocations: 286.3 kB / 0.622 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003782/0.5949, allocations: 63.98 kB / 0.622 GB, free: 9.531 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 ($whenCondition1,$whenCondition2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.00107/0.596, allocations: 295.9 kB / 0.6223 GB, free: 9.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006395/0.5967, allocations: 150.1 kB / 0.6224 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/0.6116, allocations: 5.8 MB / 0.6281 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.521e-05/0.6118, allocations: 19.94 kB / 0.6281 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.6118, allocations: 0 / 0.6281 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.164e-05/0.6119, allocations: 7.969 kB / 0.6281 GB, free: 3.242 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.0213/0.6332, allocations: 7.903 MB / 0.6359 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/0.6333, allocations: 0 / 0.6359 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6343, allocations: 139.8 kB / 0.636 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007702/0.642, allocations: 2.513 MB / 0.6384 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003642/0.6424, allocations: 31.94 kB / 0.6385 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02602/0.6685, allocations: 10.32 MB / 0.6486 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6685, allocations: 0 / 0.6486 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0204/0.689, allocations: 7.028 MB / 0.6554 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009365/0.69, allocations: 262.8 kB / 0.6557 GB, free: 6.699 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007527/0.6907, allocations: 27.98 kB / 0.6557 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/0.6928, allocations: 179.8 kB / 0.6559 GB, free: 6.496 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/0.6938, allocations: 257.3 kB / 0.6561 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002535/0.6941, allocations: 35.98 kB / 0.6561 GB, free: 6.207 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002136/0.6963, allocations: 0.9017 MB / 0.657 GB, free: 5.305 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6963, allocations: 3.938 kB / 0.657 GB, free: 5.301 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002649/0.6989, allocations: 0.5073 MB / 0.6575 GB, free: 4.793 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02064/0.7196, allocations: 7.622 MB / 0.665 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009833/0.7295, allocations: 3.132 MB / 0.668 GB, free: 10.01 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.7296, allocations: 0 / 0.668 GB, free: 10.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006636/0.7362, allocations: 2.167 MB / 0.6701 GB, free: 7.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.7387, allocations: 133.9 kB / 0.6703 GB, free: 7.688 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03246/0.7712, allocations: 13.41 MB / 0.6834 GB, free: 9.727 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/0.7725, allocations: 1.204 MB / 0.6845 GB, free: 8.492 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000935/0.7735, allocations: 133.7 kB / 0.6847 GB, free: 8.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/0.7747, allocations: 0.5773 MB / 0.6852 GB, free: 7.781 MB / 494.1 MB Notification: Performance of SimCode: time 4.689e-06/0.7747, allocations: 0 / 0.6852 GB, free: 7.781 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07732/0.8521, allocations: 37.95 MB / 0.7223 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/0.8524, allocations: 198.3 kB / 0.7225 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.476/4.328, allocations: 0 / 0.7225 GB, free: 1.719 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) Environment - environmentSimulation: