Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.1442/0.1442, allocations: 12.19 MB / 27.43 MB, free: 1.379 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.001111/0.001112, allocations: 119.4 kB / 30.94 MB, free: 4.656 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.586/1.586, allocations: 205.1 MB / 239.4 MB, free: 10.91 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.001492/0.001492, allocations: 192.1 kB / 289.6 MB, free: 15.83 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4667/0.4667, allocations: 78.5 MB / 418.1 MB, free: 31.73 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.002877/0.002877, allocations: 127.8 kB / 498.5 MB, free: 408 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4023, allocations: 68.03 MB / 0.5533 GB, free: 37.86 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.009515/0.4119, allocations: 9.596 MB / 0.5626 GB, free: 30.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005995/0.4179, allocations: 2.865 MB / 0.5654 GB, free: 28.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009141/0.4188, allocations: 17.47 kB / 0.5655 GB, free: 28.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009355/0.4198, allocations: 287.2 kB / 0.5657 GB, free: 28.64 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.4224, allocations: 1.114 MB / 0.5668 GB, free: 27.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.4239, allocations: 0.7721 MB / 0.5676 GB, free: 27.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.4261, allocations: 2.736 MB / 0.5702 GB, free: 26.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006568/0.4268, allocations: 0.5408 MB / 0.5708 GB, free: 25.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4278, allocations: 1.038 MB / 0.5718 GB, free: 25.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.429, allocations: 1.287 MB / 0.573 GB, free: 24.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002841/0.4292, allocations: 219.6 kB / 0.5732 GB, free: 24.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.43, allocations: 475.6 kB / 0.5737 GB, free: 24.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000384/0.4304, allocations: 0.5437 MB / 0.5742 GB, free: 24.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007439/0.4311, allocations: 1.067 MB / 0.5753 GB, free: 23.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.4336, allocations: 2.706 MB / 0.5779 GB, free: 22.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4336, allocations: 0 / 0.5779 GB, free: 22.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4336, allocations: 4 kB / 0.5779 GB, free: 22.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.4337, allocations: 0.7031 kB / 0.5779 GB, free: 22.41 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01487/0.4485, allocations: 4.158 MB / 0.582 GB, free: 20.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.4486, allocations: 17.64 kB / 0.582 GB, free: 20.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002614/0.4489, allocations: 181.6 kB / 0.5822 GB, free: 20.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004879/0.4538, allocations: 0.7823 MB / 0.5829 GB, free: 20.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002588/0.4564, allocations: 1.29 MB / 0.5842 GB, free: 19.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000455/0.4568, allocations: 468.1 kB / 0.5846 GB, free: 19.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.4571, allocations: 137.7 kB / 0.5848 GB, free: 19.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0037/0.4608, allocations: 1.623 MB / 0.5864 GB, free: 18.44 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.4609, allocations: 1.5 kB / 0.5864 GB, free: 18.44 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.461, allocations: 50.14 kB / 0.5864 GB, free: 18.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.36e-05/0.461, allocations: 28.34 kB / 0.5864 GB, free: 18.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003354/0.4644, allocations: 1.5 MB / 0.5879 GB, free: 17.88 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.01036/0.4748, allocations: 5.821 MB / 0.5936 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008787/0.4836, allocations: 3.186 MB / 0.5967 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.4856, allocations: 0.9973 MB / 0.5977 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/0.4861, allocations: 0.732 MB / 0.5984 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002411/0.4886, allocations: 1.202 MB / 0.5996 GB, free: 9.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 2.845e-06/0.4886, allocations: 0.75 kB / 0.5996 GB, free: 9.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.03755/0.5261, allocations: 9.97 MB / 0.6093 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/0.5262, allocations: 145.8 kB / 0.6094 GB, free: 492 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004064/0.5303, allocations: 1.642 MB / 0.611 GB, free: 14.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003588/0.5307, allocations: 57.7 kB / 0.6111 GB, free: 14.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009478/0.5316, allocations: 0.7147 MB / 0.6118 GB, free: 14.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008975/0.5326, allocations: 0.5276 MB / 0.6123 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.534, allocations: 391.9 kB / 0.6127 GB, free: 13.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.5341, allocations: 305.1 kB / 0.613 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/0.5369, allocations: 1.074 MB / 0.614 GB, free: 11.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002841/0.5397, allocations: 1.306 MB / 0.6153 GB, free: 10.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00522/0.5449, allocations: 2.335 MB / 0.6176 GB, free: 7.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.978e-05/0.545, allocations: 4 kB / 0.6176 GB, free: 7.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01129/0.5563, allocations: 4.01 MB / 0.6215 GB, free: 3.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/0.5564, allocations: 37.7 kB / 0.6215 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.063e-05/0.5564, allocations: 4 kB / 0.6215 GB, free: 3.824 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009549/0.566, allocations: 2.659 MB / 0.6241 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.5681, allocations: 383.5 kB / 0.6245 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006981/0.5751, allocations: 2.692 MB / 0.6271 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/0.5786, allocations: 290.1 kB / 0.6274 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005082/0.5791, allocations: 75.92 kB / 0.6275 GB, free: 13.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.001486/0.5806, allocations: 343 kB / 0.6278 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009553/0.5816, allocations: 189.6 kB / 0.628 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01987/0.6015, allocations: 5.178 MB / 0.633 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.093e-05/0.6016, allocations: 16 kB / 0.6331 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.6016, allocations: 3.938 kB / 0.6331 GB, free: 7.949 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.819e-05/0.6017, allocations: 7.969 kB / 0.6331 GB, free: 7.941 MB / 446.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.03115/0.6328, allocations: 7.643 MB / 0.6405 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.229e-05/0.6329, allocations: 4 kB / 0.6405 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/0.6346, allocations: 179.8 kB / 0.6407 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0112/0.6458, allocations: 2.232 MB / 0.6429 GB, free: 13.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005451/0.6464, allocations: 43.92 kB / 0.6429 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03322/0.6796, allocations: 12.08 MB / 0.6547 GB, free: 1.328 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6797, allocations: 3.984 kB / 0.6547 GB, free: 1.324 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02046/0.7001, allocations: 6.359 MB / 0.6609 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.7012, allocations: 302.5 kB / 0.6612 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000856/0.7021, allocations: 28 kB / 0.6613 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002445/0.7046, allocations: 163.8 kB / 0.6614 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/0.7058, allocations: 285.3 kB / 0.6617 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002695/0.7061, allocations: 47.98 kB / 0.6617 GB, free: 10.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002567/0.7087, allocations: 1.105 MB / 0.6628 GB, free: 8.996 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7087, allocations: 0 / 0.6628 GB, free: 8.996 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002614/0.7113, allocations: 0.6009 MB / 0.6634 GB, free: 8.395 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01981/0.7311, allocations: 6.986 MB / 0.6702 GB, free: 1.363 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01099/0.7422, allocations: 3.241 MB / 0.6734 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.7422, allocations: 0.875 kB / 0.6734 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006921/0.7491, allocations: 2.19 MB / 0.6755 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.7515, allocations: 184.4 kB / 0.6757 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05429/0.8058, allocations: 23.44 MB / 0.6986 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001294/0.8071, allocations: 1.343 MB / 0.6999 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008527/0.808, allocations: 175.6 kB / 0.7001 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/0.8092, allocations: 0.7219 MB / 0.7008 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of SimCode: time 2.916e-06/0.8093, allocations: 0 / 0.7008 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3332/1.142, allocations: 47.37 MB / 0.747 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/1.143, allocations: 217.9 kB / 0.7472 GB, free: 155 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.724/4.866, allocations: 0 / 0.7472 GB, free: 155 MB / 0.5294 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)