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.08737/0.08737, allocations: 12.21 MB / 27.33 MB, free: 1.441 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.001093/0.001092, allocations: 119.4 kB / 30.84 MB, free: 4.711 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.338/1.338, allocations: 205.1 MB / 239.3 MB, free: 11.01 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.001319/0.001319, allocations: 196.5 kB / 289.5 MB, free: 15.9 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4574/0.4574, allocations: 78.51 MB / 418 MB, free: 31.79 MB / 318.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.002424/0.002424, allocations: 136.9 kB / 498.3 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3538, allocations: 68.03 MB / 0.5531 GB, free: 37.76 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.00687/0.3607, allocations: 8.365 MB / 0.5613 GB, free: 31.63 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004782/0.3656, allocations: 2.522 MB / 0.5637 GB, free: 29.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009416/0.3665, allocations: 14.47 kB / 0.5637 GB, free: 29.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007883/0.3673, allocations: 244.2 kB / 0.564 GB, free: 29.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.3697, allocations: 1.08 MB / 0.565 GB, free: 29.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3709, allocations: 0.6289 MB / 0.5656 GB, free: 28.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.3727, allocations: 2.149 MB / 0.5677 GB, free: 27.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.3731, allocations: 337.8 kB / 0.568 GB, free: 27.53 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000735/0.3739, allocations: 0.7707 MB / 0.5688 GB, free: 27.19 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.3747, allocations: 1.039 MB / 0.5698 GB, free: 26.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.3749, allocations: 98.84 kB / 0.5699 GB, free: 26.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005301/0.3754, allocations: 277.3 kB / 0.5702 GB, free: 26.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000257/0.3757, allocations: 378.7 kB / 0.5705 GB, free: 26.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005101/0.3762, allocations: 0.8034 MB / 0.5713 GB, free: 25.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.3776, allocations: 2.103 MB / 0.5734 GB, free: 25.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3777, allocations: 2.5 kB / 0.5734 GB, free: 25.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3777, allocations: 0 / 0.5734 GB, free: 25.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3777, allocations: 0 / 0.5734 GB, free: 25.03 MB / 414.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.013/0.3907, allocations: 3.798 MB / 0.5771 GB, free: 23.55 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3907, allocations: 13.62 kB / 0.5771 GB, free: 23.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001914/0.3909, allocations: 148.5 kB / 0.5772 GB, free: 23.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00447/0.3954, allocations: 0.7475 MB / 0.578 GB, free: 23.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.3974, allocations: 1.093 MB / 0.579 GB, free: 22.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004167/0.3978, allocations: 421.6 kB / 0.5794 GB, free: 22.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/0.398, allocations: 99.12 kB / 0.5795 GB, free: 22.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/0.401, allocations: 1.364 MB / 0.5809 GB, free: 21.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.401, allocations: 9.203 kB / 0.5809 GB, free: 21.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.4011, allocations: 39.64 kB / 0.5809 GB, free: 21.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.4012, allocations: 22.84 kB / 0.5809 GB, free: 21.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002872/0.404, allocations: 1.299 MB / 0.5822 GB, free: 21.16 MB / 414.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.008642/0.4127, allocations: 4.666 MB / 0.5868 GB, free: 18.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007616/0.4203, allocations: 2.895 MB / 0.5896 GB, free: 16.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/0.4222, allocations: 0.9089 MB / 0.5905 GB, free: 16.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.4223, allocations: 22.69 kB / 0.5905 GB, free: 16.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002044/0.4244, allocations: 1.048 MB / 0.5915 GB, free: 15.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=124): time 2.815e-06/0.4244, allocations: 0 / 0.5915 GB, free: 15.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.03888/0.4633, allocations: 9.906 MB / 0.6012 GB, free: 9.105 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.4634, allocations: 119.8 kB / 0.6013 GB, free: 8.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.4654, allocations: 1.349 MB / 0.6026 GB, free: 7.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003966/0.4658, allocations: 49.7 kB / 0.6027 GB, free: 7.543 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.4661, allocations: 0.5687 MB / 0.6032 GB, free: 6.969 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.4665, allocations: 445.6 kB / 0.6037 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005321/0.4671, allocations: 327.4 kB / 0.604 GB, free: 6.203 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.523e-05/0.4671, allocations: 305.1 kB / 0.6043 GB, free: 5.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.4689, allocations: 0.9604 MB / 0.6052 GB, free: 4.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.4707, allocations: 1.155 MB / 0.6063 GB, free: 3.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/0.4741, allocations: 2.046 MB / 0.6083 GB, free: 1.652 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4741, allocations: 0 / 0.6083 GB, free: 1.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009464/0.4836, allocations: 3.823 MB / 0.6121 GB, free: 13.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.4836, allocations: 7.938 kB / 0.6121 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4837, allocations: 4 kB / 0.6121 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009164/0.4928, allocations: 2.667 MB / 0.6147 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/0.4945, allocations: 303.6 kB / 0.615 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005982/0.5005, allocations: 2.689 MB / 0.6176 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/0.5029, allocations: 246.4 kB / 0.6178 GB, free: 7.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.5031, allocations: 55.98 kB / 0.6179 GB, free: 7.824 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.0006419/0.5037, allocations: 301.4 kB / 0.6182 GB, free: 7.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.504, allocations: 158 kB / 0.6183 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/0.5189, allocations: 4.752 MB / 0.623 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.519, allocations: 12 kB / 0.623 GB, free: 2.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.519, allocations: 4 kB / 0.623 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/0.519, allocations: 11.97 kB / 0.623 GB, free: 2.559 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.01792/0.537, allocations: 6.872 MB / 0.6297 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.537, allocations: 7.875 kB / 0.6297 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009292/0.538, allocations: 135.8 kB / 0.6298 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007228/0.5452, allocations: 2.142 MB / 0.6319 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002646/0.5455, allocations: 31.98 kB / 0.632 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02278/0.5683, allocations: 9.175 MB / 0.6409 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5683, allocations: 4 kB / 0.6409 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01807/0.5864, allocations: 5.911 MB / 0.6467 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007839/0.5872, allocations: 266.8 kB / 0.6469 GB, free: 9.672 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006497/0.5879, allocations: 27.98 kB / 0.647 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/0.5899, allocations: 131.8 kB / 0.6471 GB, free: 9.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009893/0.5909, allocations: 253.3 kB / 0.6473 GB, free: 9.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002209/0.5912, allocations: 35.92 kB / 0.6474 GB, free: 9.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001862/0.593, allocations: 0.9095 MB / 0.6483 GB, free: 8.324 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5931, allocations: 4 kB / 0.6483 GB, free: 8.32 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002239/0.5953, allocations: 0.5151 MB / 0.6488 GB, free: 7.805 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.01865/0.614, allocations: 6.512 MB / 0.6551 GB, free: 1.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009185/0.6232, allocations: 2.783 MB / 0.6578 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.6233, allocations: 0 / 0.6578 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006103/0.6294, allocations: 1.878 MB / 0.6597 GB, free: 12.57 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.6315, allocations: 137 kB / 0.6598 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05172/0.6832, allocations: 20.65 MB / 0.68 GB, free: 7.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009841/0.6842, allocations: 1.203 MB / 0.6812 GB, free: 5.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009011/0.6852, allocations: 137.7 kB / 0.6813 GB, free: 5.684 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/0.6862, allocations: 0.5735 MB / 0.6818 GB, free: 5.109 MB / 494.1 MB Notification: Performance of SimCode: time 1.683e-06/0.6862, allocations: 0 / 0.6818 GB, free: 5.109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0656/0.7519, allocations: 38.49 MB / 0.7194 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.7521, allocations: 216.6 kB / 0.7196 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.155/3.907, allocations: 4 kB / 0.7196 GB, free: 14.43 MB / 0.5294 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/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)