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.00484/0.00484, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.411/1.411, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001618/0.001618, allocations: 192.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4626/0.4626, allocations: 78.54 MB / 418.4 MB, free: 3.125 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 87.8 kB / 0.5532 GB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.3002, allocations: 68.16 MB / 0.6197 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004571/0.3048, allocations: 5.745 MB / 0.6253 GB, free: 4.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.3072, allocations: 1.736 MB / 0.627 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003326/0.3076, allocations: 11.94 kB / 0.627 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.3079, allocations: 198.3 kB / 0.6272 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001173/0.3091, allocations: 0.6803 MB / 0.6279 GB, free: 1.762 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008565/0.31, allocations: 0.569 MB / 0.6284 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008498/0.3109, allocations: 1.241 MB / 0.6297 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/0.3113, allocations: 279.1 kB / 0.6299 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.3119, allocations: 0.5134 MB / 0.6304 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007517/0.3126, allocations: 0.6494 MB / 0.6311 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.3128, allocations: 88 kB / 0.6311 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.3132, allocations: 235.8 kB / 0.6314 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.3135, allocations: 246.8 kB / 0.6316 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005037/0.314, allocations: 0.5359 MB / 0.6321 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.3155, allocations: 1.362 MB / 0.6335 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3155, allocations: 0 / 0.6335 GB, free: 12.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3155, allocations: 0 / 0.6335 GB, free: 12.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.3155, allocations: 0 / 0.6335 GB, free: 12.04 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.007591/0.3231, allocations: 2.387 MB / 0.6358 GB, free: 9.602 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3232, allocations: 12.03 kB / 0.6358 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.3234, allocations: 122.5 kB / 0.6359 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/0.3284, allocations: 0.7641 MB / 0.6367 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.3298, allocations: 0.7135 MB / 0.6374 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/0.3301, allocations: 256.2 kB / 0.6376 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.3303, allocations: 68 kB / 0.6377 GB, free: 7.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.3324, allocations: 0.9598 MB / 0.6386 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.3325, allocations: 0 / 0.6386 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.3325, allocations: 28 kB / 0.6386 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.3326, allocations: 16 kB / 0.6386 GB, free: 6.574 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.3348, allocations: 0.976 MB / 0.6396 GB, free: 5.594 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.005815/0.3406, allocations: 3.159 MB / 0.6427 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.343, allocations: 1.305 MB / 0.644 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.3445, allocations: 0.706 MB / 0.6446 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.3446, allocations: 12.64 kB / 0.6447 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3446, allocations: 43.22 kB / 0.6447 GB, free: 88 kB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.3447, allocations: 0 / 0.6447 GB, free: 88 kB / 446.1 MB Notification: Performance of matching and sorting (n=82): time 0.02849/0.3732, allocations: 6.767 MB / 0.6513 GB, free: 9.281 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.3733, allocations: 64 kB / 0.6514 GB, free: 9.207 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.3745, allocations: 0.7987 MB / 0.6522 GB, free: 8.383 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001662/0.3747, allocations: 41.7 kB / 0.6522 GB, free: 8.336 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.3751, allocations: 449 kB / 0.6526 GB, free: 7.891 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/0.3754, allocations: 309.4 kB / 0.6529 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003859/0.3758, allocations: 178.9 kB / 0.6531 GB, free: 7.402 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.376, allocations: 349.9 kB / 0.6534 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.3775, allocations: 0.6506 MB / 0.6541 GB, free: 6.406 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.3792, allocations: 0.7757 MB / 0.6548 GB, free: 5.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/0.3976, allocations: 4.492 MB / 0.6592 GB, free: 1.074 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.3976, allocations: 0 / 0.6592 GB, free: 1.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01408/0.4117, allocations: 4.114 MB / 0.6632 GB, free: 12.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4118, allocations: 4 kB / 0.6632 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.4118, allocations: 8 kB / 0.6632 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006551/0.4184, allocations: 1.791 MB / 0.665 GB, free: 11.13 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/0.4192, allocations: 167.8 kB / 0.6651 GB, free: 10.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02367/0.4429, allocations: 9.337 MB / 0.6743 GB, free: 1.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.4445, allocations: 159.2 kB / 0.6744 GB, free: 1.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/0.4446, allocations: 35.98 kB / 0.6744 GB, free: 1.293 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.0004923/0.4451, allocations: 225.7 kB / 0.6747 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.4453, allocations: 107.3 kB / 0.6748 GB, free: 0.957 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.4591, allocations: 3.836 MB / 0.6785 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.4591, allocations: 8 kB / 0.6785 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4592, allocations: 0 / 0.6785 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/0.4592, allocations: 3.984 kB / 0.6785 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/0.4747, allocations: 5.357 MB / 0.6837 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/0.4748, allocations: 0 / 0.6837 GB, free: 7.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000559/0.4753, allocations: 91.89 kB / 0.6838 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006338/0.4817, allocations: 1.749 MB / 0.6855 GB, free: 5.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/0.4818, allocations: 15.98 kB / 0.6856 GB, free: 5.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/0.5019, allocations: 8.065 MB / 0.6934 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.502, allocations: 0 / 0.6934 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01564/0.5176, allocations: 4.728 MB / 0.6981 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/0.5181, allocations: 188.2 kB / 0.6982 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.5183, allocations: 16 kB / 0.6982 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009338/0.5192, allocations: 95.89 kB / 0.6983 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006939/0.5199, allocations: 196.7 kB / 0.6985 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.219e-05/0.52, allocations: 20 kB / 0.6985 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007311/0.5207, allocations: 0.5421 MB / 0.6991 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5207, allocations: 0 / 0.6991 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001236/0.522, allocations: 407.7 kB / 0.6995 GB, free: 7.293 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.01569/0.5377, allocations: 5.285 MB / 0.7046 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006865/0.5446, allocations: 2.338 MB / 0.7069 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5446, allocations: 0 / 0.7069 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004846/0.5495, allocations: 1.515 MB / 0.7084 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007373/0.5502, allocations: 84.78 kB / 0.7085 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03726/0.5875, allocations: 14.18 MB / 0.7223 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006982/0.5883, allocations: 1.033 MB / 0.7233 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003587/0.5886, allocations: 74.19 kB / 0.7234 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.5891, allocations: 367.3 kB / 0.7237 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.5891, allocations: 0 / 0.7237 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07127/0.6604, allocations: 31.09 MB / 0.7541 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/16.68, allocations: 10.03 kB / 0.7541 GB, free: 15.14 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)