Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.005425/0.005425, allocations: 102.9 kB / 15.74 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001374/0.001374, allocations: 192.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4217/0.4217, allocations: 78.53 MB / 418.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 87.86 kB / 0.5532 GB, free: 1.426 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2961, allocations: 68.16 MB / 0.6197 GB, free: 9.355 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004799/0.301, allocations: 5.744 MB / 0.6253 GB, free: 4.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.3038, allocations: 1.732 MB / 0.627 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005443/0.3044, allocations: 12 kB / 0.627 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004348/0.3049, allocations: 206.2 kB / 0.6272 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.3063, allocations: 0.7387 MB / 0.6279 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009697/0.3073, allocations: 0.5598 MB / 0.6285 GB, free: 1.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001088/0.3084, allocations: 1.245 MB / 0.6297 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.3088, allocations: 271.1 kB / 0.63 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006411/0.3095, allocations: 0.5328 MB / 0.6305 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006531/0.3101, allocations: 0.6339 MB / 0.6311 GB, free: 14.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.3103, allocations: 88 kB / 0.6312 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004073/0.3107, allocations: 235.8 kB / 0.6314 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.3109, allocations: 246.9 kB / 0.6317 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000424/0.3113, allocations: 0.5475 MB / 0.6322 GB, free: 13.33 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.3127, allocations: 1.358 MB / 0.6335 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3127, allocations: 0 / 0.6335 GB, free: 11.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3127, allocations: 0 / 0.6335 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.3128, allocations: 0 / 0.6335 GB, free: 11.98 MB / 446.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.007413/0.3202, allocations: 2.387 MB / 0.6358 GB, free: 9.535 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.3202, allocations: 8.031 kB / 0.6359 GB, free: 9.527 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.3204, allocations: 114.5 kB / 0.636 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004875/0.3253, allocations: 0.768 MB / 0.6367 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.3266, allocations: 0.7252 MB / 0.6374 GB, free: 7.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/0.3269, allocations: 248.2 kB / 0.6377 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.3271, allocations: 64 kB / 0.6377 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.3291, allocations: 0.9598 MB / 0.6387 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.3291, allocations: 0 / 0.6387 GB, free: 6.559 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-05/0.3292, allocations: 28 kB / 0.6387 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.3292, allocations: 16 kB / 0.6387 GB, free: 6.516 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.3313, allocations: 0.9721 MB / 0.6396 GB, free: 5.539 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 preOpt removeSimpleEquations (simulation): time 0.005193/0.3365, allocations: 3.17 MB / 0.6427 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.3385, allocations: 1.293 MB / 0.644 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.3399, allocations: 0.706 MB / 0.6447 GB, free: 96 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.843e-05/0.34, allocations: 16.64 kB / 0.6447 GB, free: 80 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.34, allocations: 39.22 kB / 0.6447 GB, free: 32 kB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 3.406e-06/0.34, allocations: 0 / 0.6447 GB, free: 32 kB / 446.1 MB Notification: Performance of matching and sorting (n=82): time 0.02708/0.3671, allocations: 6.763 MB / 0.6514 GB, free: 9.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.3672, allocations: 68 kB / 0.6514 GB, free: 9.152 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.3684, allocations: 0.7987 MB / 0.6522 GB, free: 8.328 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.3686, allocations: 41.7 kB / 0.6522 GB, free: 8.281 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.3689, allocations: 441 kB / 0.6527 GB, free: 7.844 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.3694, allocations: 313.3 kB / 0.653 GB, free: 7.535 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004619/0.3698, allocations: 182.9 kB / 0.6531 GB, free: 7.348 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.37, allocations: 345.9 kB / 0.6535 GB, free: 7.004 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.3714, allocations: 0.6507 MB / 0.6541 GB, free: 6.355 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.373, allocations: 0.7718 MB / 0.6549 GB, free: 5.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01764/0.3907, allocations: 4.496 MB / 0.6592 GB, free: 1.023 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3907, allocations: 4 kB / 0.6592 GB, free: 1.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01349/0.4042, allocations: 4.114 MB / 0.6633 GB, free: 12.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.4043, allocations: 7.984 kB / 0.6633 GB, free: 12.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4043, allocations: 4 kB / 0.6633 GB, free: 12.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006382/0.4107, allocations: 1.791 MB / 0.665 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/0.4116, allocations: 163.8 kB / 0.6652 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02229/0.4339, allocations: 9.336 MB / 0.6743 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/0.4354, allocations: 167.2 kB / 0.6745 GB, free: 1.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.4356, allocations: 35.98 kB / 0.6745 GB, free: 1.234 MB / 478.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.000557/0.4361, allocations: 225.6 kB / 0.6747 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.4364, allocations: 107.3 kB / 0.6748 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01301/0.4494, allocations: 3.84 MB / 0.6786 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.4495, allocations: 8 kB / 0.6786 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4495, allocations: 0 / 0.6786 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.306e-05/0.4495, allocations: 3.984 kB / 0.6786 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.4648, allocations: 5.345 MB / 0.6838 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/0.4649, allocations: 4 kB / 0.6838 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.4654, allocations: 91.88 kB / 0.6839 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005981/0.4714, allocations: 1.749 MB / 0.6856 GB, free: 5.695 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.4716, allocations: 16 kB / 0.6856 GB, free: 5.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/0.4906, allocations: 8.065 MB / 0.6935 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.4906, allocations: 3.984 kB / 0.6935 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.5054, allocations: 4.72 MB / 0.6981 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/0.5058, allocations: 196.2 kB / 0.6983 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.5061, allocations: 12 kB / 0.6983 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.5071, allocations: 91.89 kB / 0.6984 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006127/0.5078, allocations: 204.6 kB / 0.6986 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.401e-05/0.5079, allocations: 27.98 kB / 0.6986 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007305/0.5086, allocations: 0.5383 MB / 0.6991 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5086, allocations: 0 / 0.6991 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001312/0.5099, allocations: 407.7 kB / 0.6995 GB, free: 7.23 MB / 0.4981 GB 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.01501/0.525, allocations: 5.288 MB / 0.7047 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006804/0.5318, allocations: 2.338 MB / 0.707 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.5319, allocations: 0 / 0.707 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004769/0.5366, allocations: 1.5 MB / 0.7084 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008976/0.5376, allocations: 80.84 kB / 0.7085 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03641/0.574, allocations: 14.2 MB / 0.7224 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006528/0.5747, allocations: 1.033 MB / 0.7234 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003606/0.5751, allocations: 74.19 kB / 0.7234 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/0.5756, allocations: 371.2 kB / 0.7238 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/0.5756, allocations: 0 / 0.7238 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09104/0.6667, allocations: 31.08 MB / 0.7541 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.48, allocations: 14.12 kB / 0.7542 GB, free: 15.09 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)