Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.1027/0.1027, allocations: 12.19 MB / 27.43 MB, free: 1.375 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.001412/0.001412, allocations: 120.4 kB / 30.94 MB, free: 4.652 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.625/1.625, 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.001552/0.001552, allocations: 196.5 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.4789/0.4789, allocations: 78.49 MB / 418.1 MB, free: 31.72 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.002925/0.002925, allocations: 136.9 kB / 498.5 MB, free: 412 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3695, allocations: 68.03 MB / 0.5533 GB, free: 37.58 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006058/0.3756, allocations: 6.144 MB / 0.5593 GB, free: 33.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.3792, allocations: 1.743 MB / 0.561 GB, free: 31.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.3803, allocations: 10.69 kB / 0.561 GB, free: 31.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007999/0.3812, allocations: 166.4 kB / 0.5611 GB, free: 31.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.3834, allocations: 0.595 MB / 0.5617 GB, free: 31.37 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3847, allocations: 0.52 MB / 0.5622 GB, free: 31.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.3864, allocations: 1.24 MB / 0.5634 GB, free: 30.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005507/0.387, allocations: 280.1 kB / 0.5637 GB, free: 30.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009383/0.3879, allocations: 0.5209 MB / 0.5642 GB, free: 30.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.389, allocations: 0.6444 MB / 0.5648 GB, free: 29.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003919/0.3894, allocations: 88.78 kB / 0.5649 GB, free: 29.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008107/0.3902, allocations: 228.2 kB / 0.5651 GB, free: 29.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.3905, allocations: 247.2 kB / 0.5654 GB, free: 29.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006608/0.3912, allocations: 0.5435 MB / 0.5659 GB, free: 29.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.3924, allocations: 1.342 MB / 0.5672 GB, free: 28.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3924, allocations: 0 / 0.5672 GB, free: 28.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3924, allocations: 0 / 0.5672 GB, free: 28.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3924, allocations: 0 / 0.5672 GB, free: 28.55 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006788/0.3992, allocations: 2.35 MB / 0.5695 GB, free: 27.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3993, allocations: 11.92 kB / 0.5695 GB, free: 27.47 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.3994, allocations: 117.8 kB / 0.5696 GB, free: 27.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004658/0.4041, allocations: 0.7627 MB / 0.5704 GB, free: 27.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000943/0.405, allocations: 0.7029 MB / 0.5711 GB, free: 26.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.4053, allocations: 253.5 kB / 0.5713 GB, free: 26.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.4054, allocations: 63.91 kB / 0.5714 GB, free: 26.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.4072, allocations: 0.9671 MB / 0.5723 GB, free: 26.13 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4072, allocations: 0 / 0.5723 GB, free: 26.13 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.151e-05/0.4073, allocations: 33.31 kB / 0.5723 GB, free: 26.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.4073, allocations: 17.81 kB / 0.5724 GB, free: 26.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001821/0.4092, allocations: 0.972 MB / 0.5733 GB, free: 25.79 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.004898/0.4141, allocations: 3.178 MB / 0.5764 GB, free: 23.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.416, allocations: 1.306 MB / 0.5777 GB, free: 23.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.4174, allocations: 0.7032 MB / 0.5784 GB, free: 22.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.4175, allocations: 10.42 kB / 0.5784 GB, free: 22.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.4176, allocations: 42.59 kB / 0.5784 GB, free: 22.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.4176, allocations: 1.5 kB / 0.5784 GB, free: 22.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=82): time 0.02788/0.4455, allocations: 6.758 MB / 0.585 GB, free: 21.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.4455, allocations: 64.97 kB / 0.5851 GB, free: 21.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.447, allocations: 0.8057 MB / 0.5859 GB, free: 20.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.4472, allocations: 40.27 kB / 0.5859 GB, free: 20.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003593/0.4476, allocations: 429.8 kB / 0.5863 GB, free: 20.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004683/0.4481, allocations: 296.9 kB / 0.5866 GB, free: 20 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006148/0.4487, allocations: 184.5 kB / 0.5868 GB, free: 19.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4488, allocations: 347.5 kB / 0.5871 GB, free: 19.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/0.4504, allocations: 0.6544 MB / 0.5878 GB, free: 19.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.4519, allocations: 0.7712 MB / 0.5885 GB, free: 18.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/0.4699, allocations: 4.51 MB / 0.5929 GB, free: 16.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.47, allocations: 0 / 0.5929 GB, free: 16.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0134/0.4834, allocations: 4.113 MB / 0.5969 GB, free: 13.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/0.4835, allocations: 11.98 kB / 0.5969 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.4835, allocations: 0 / 0.5969 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005624/0.4891, allocations: 1.795 MB / 0.5987 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008256/0.49, allocations: 171.7 kB / 0.5989 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01947/0.5094, allocations: 9.322 MB / 0.608 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.511, allocations: 158.9 kB / 0.6081 GB, free: 2.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/0.5112, allocations: 35.98 kB / 0.6081 GB, free: 1.984 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005458/0.5118, allocations: 231.2 kB / 0.6084 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/0.512, allocations: 106.6 kB / 0.6085 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.5241, allocations: 3.83 MB / 0.6122 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.5241, allocations: 8 kB / 0.6122 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5241, allocations: 4 kB / 0.6122 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.917e-05/0.5241, allocations: 3.984 kB / 0.6122 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.5392, allocations: 5.35 MB / 0.6174 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/0.5393, allocations: 4 kB / 0.6175 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/0.5398, allocations: 87.89 kB / 0.6175 GB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005908/0.5458, allocations: 1.749 MB / 0.6192 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.546, allocations: 19.98 kB / 0.6193 GB, free: 6.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/0.5658, allocations: 8.08 MB / 0.6272 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5658, allocations: 0 / 0.6272 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/0.5806, allocations: 4.719 MB / 0.6318 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/0.5811, allocations: 183.6 kB / 0.6319 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/0.5814, allocations: 16 kB / 0.632 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.5826, allocations: 95.89 kB / 0.632 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007627/0.5834, allocations: 196.7 kB / 0.6322 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.5835, allocations: 20 kB / 0.6322 GB, free: 8.941 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008576/0.5844, allocations: 0.5382 MB / 0.6328 GB, free: 8.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5844, allocations: 0 / 0.6328 GB, free: 8.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001598/0.586, allocations: 403.7 kB / 0.6332 GB, free: 7.996 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01497/0.601, allocations: 5.281 MB / 0.6383 GB, free: 2.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007187/0.6082, allocations: 2.365 MB / 0.6406 GB, free: 312 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.6083, allocations: 0 / 0.6406 GB, free: 312 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004809/0.6131, allocations: 1.511 MB / 0.6421 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.6143, allocations: 87.16 kB / 0.6422 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04017/0.6545, allocations: 14.93 MB / 0.6568 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/0.6554, allocations: 1.025 MB / 0.6578 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004577/0.6559, allocations: 78.19 kB / 0.6578 GB, free: 14.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006276/0.6566, allocations: 371.3 kB / 0.6582 GB, free: 13.93 MB / 478.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6566, allocations: 0 / 0.6582 GB, free: 13.93 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06054/0.7171, allocations: 29.62 MB / 0.6871 GB, free: 396 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.7174, allocations: 220 kB / 0.6873 GB, free: 136 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.732/3.449, allocations: 0 / 0.6873 GB, free: 136 kB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)