Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.007757/0.007757, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.414/1.414, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001569/0.001569, allocations: 184.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4717/0.4717, allocations: 78.54 MB / 418.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 79.88 kB / 0.5532 GB, free: 1.398 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3268, allocations: 68.16 MB / 0.6197 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005008/0.3318, allocations: 6.445 MB / 0.626 GB, free: 3.652 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.3349, allocations: 1.864 MB / 0.6278 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005788/0.3355, allocations: 8 kB / 0.6278 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.336, allocations: 230 kB / 0.6281 GB, free: 1.551 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.3374, allocations: 0.7146 MB / 0.6288 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009835/0.3384, allocations: 0.6084 MB / 0.6294 GB, free: 240 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.3398, allocations: 1.413 MB / 0.6307 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004639/0.3403, allocations: 336.3 kB / 0.6311 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006792/0.341, allocations: 0.5873 MB / 0.6316 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008137/0.3418, allocations: 0.731 MB / 0.6323 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001589/0.342, allocations: 104 kB / 0.6324 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004615/0.3425, allocations: 235.9 kB / 0.6327 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002574/0.3427, allocations: 290.7 kB / 0.6329 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005392/0.3433, allocations: 0.6213 MB / 0.6336 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.3449, allocations: 1.529 MB / 0.635 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.345, allocations: 0 / 0.635 GB, free: 10.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.345, allocations: 0 / 0.635 GB, free: 10.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.345, allocations: 4 kB / 0.6351 GB, free: 10.38 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008059/0.353, allocations: 2.605 MB / 0.6376 GB, free: 7.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3531, allocations: 8.031 kB / 0.6376 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.3533, allocations: 130.7 kB / 0.6377 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004922/0.3582, allocations: 0.7874 MB / 0.6385 GB, free: 6.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.3595, allocations: 0.789 MB / 0.6393 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003098/0.3599, allocations: 260.2 kB / 0.6395 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.36, allocations: 76 kB / 0.6396 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.3624, allocations: 1.081 MB / 0.6406 GB, free: 4.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3625, allocations: 8 kB / 0.6407 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.5e-05/0.3626, allocations: 28 kB / 0.6407 GB, free: 4.449 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.3626, allocations: 20 kB / 0.6407 GB, free: 4.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002707/0.3653, allocations: 1.124 MB / 0.6418 GB, free: 3.301 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.005931/0.3713, allocations: 3.441 MB / 0.6452 GB, free: 15.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.3736, allocations: 1.427 MB / 0.6465 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.3754, allocations: 0.7774 MB / 0.6473 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.3755, allocations: 20.91 kB / 0.6473 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.3756, allocations: 47.55 kB / 0.6474 GB, free: 13.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.316e-06/0.3756, allocations: 0 / 0.6474 GB, free: 13.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02633/0.4019, allocations: 6.61 MB / 0.6538 GB, free: 6.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.193e-05/0.402, allocations: 60.41 kB / 0.6539 GB, free: 6.59 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.4034, allocations: 0.9041 MB / 0.6548 GB, free: 5.668 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.4036, allocations: 45.7 kB / 0.6548 GB, free: 5.617 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/0.4041, allocations: 0.4897 MB / 0.6553 GB, free: 5.121 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005263/0.4046, allocations: 360.9 kB / 0.6556 GB, free: 4.766 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005467/0.4052, allocations: 206.8 kB / 0.6558 GB, free: 4.555 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4054, allocations: 353.9 kB / 0.6562 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/0.4072, allocations: 0.7209 MB / 0.6569 GB, free: 3.484 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.4092, allocations: 0.8539 MB / 0.6577 GB, free: 2.598 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02006/0.4293, allocations: 4.818 MB / 0.6624 GB, free: 13.75 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.577e-06/0.4294, allocations: 4 kB / 0.6624 GB, free: 13.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01504/0.4444, allocations: 4.281 MB / 0.6666 GB, free: 9.445 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.4445, allocations: 7.938 kB / 0.6666 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4445, allocations: 4 kB / 0.6666 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006689/0.4512, allocations: 1.803 MB / 0.6684 GB, free: 7.625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.4523, allocations: 215.7 kB / 0.6686 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0245/0.4768, allocations: 9.331 MB / 0.6777 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.4786, allocations: 179.2 kB / 0.6779 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002448/0.4789, allocations: 43.98 kB / 0.6779 GB, free: 13.71 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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.0006979/0.4796, allocations: 235.9 kB / 0.6781 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.48, allocations: 127.1 kB / 0.6782 GB, free: 13.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/0.4946, allocations: 4.022 MB / 0.6822 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/0.4947, allocations: 8 kB / 0.6822 GB, free: 9.309 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4947, allocations: 4 kB / 0.6822 GB, free: 9.305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-05/0.4948, allocations: 11.92 kB / 0.6822 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.5117, allocations: 5.614 MB / 0.6877 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.5117, allocations: 0 / 0.6877 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.5125, allocations: 139.8 kB / 0.6878 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006434/0.519, allocations: 1.745 MB / 0.6895 GB, free: 1.656 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.5191, allocations: 19.94 kB / 0.6895 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02062/0.5398, allocations: 8.073 MB / 0.6974 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5398, allocations: 0 / 0.6974 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01685/0.5567, allocations: 4.976 MB / 0.7023 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004492/0.5572, allocations: 212.1 kB / 0.7025 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003632/0.5576, allocations: 16 kB / 0.7025 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.5588, allocations: 115.8 kB / 0.7026 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008666/0.5597, allocations: 212.7 kB / 0.7028 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/0.5599, allocations: 28 kB / 0.7028 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001005/0.5609, allocations: 0.6008 MB / 0.7034 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5609, allocations: 3.938 kB / 0.7034 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00154/0.5624, allocations: 439.6 kB / 0.7038 GB, free: 2.785 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.017/0.5794, allocations: 5.558 MB / 0.7093 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007921/0.5874, allocations: 2.507 MB / 0.7117 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5874, allocations: 64 / 0.7117 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005403/0.5928, allocations: 1.6 MB / 0.7133 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000996/0.5939, allocations: 84.42 kB / 0.7134 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0422/0.6361, allocations: 15.37 MB / 0.7284 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009539/0.6371, allocations: 1.095 MB / 0.7294 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005126/0.6376, allocations: 90.75 kB / 0.7295 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000784/0.6384, allocations: 447.3 kB / 0.73 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.6384, allocations: 0 / 0.73 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08118/0.7196, allocations: 33.76 MB / 0.7629 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.12/17.84, allocations: 7.875 kB / 0.7629 GB, free: 6.121 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation_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_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)