Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.005677/0.005678, allocations: 98.77 kB / 15.73 MB, free: 6.047 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.306/1.306, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001459/0.001459, allocations: 192.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5055/0.5055, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 72.53 kB / 0.5723 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1318, allocations: 71.29 MB / 0.6419 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006485/0.1383, allocations: 6.452 MB / 0.6482 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.1419, allocations: 1.864 MB / 0.65 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005718/0.1425, allocations: 12 kB / 0.65 GB, free: 11.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.143, allocations: 226 kB / 0.6502 GB, free: 11.51 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.1446, allocations: 0.7637 MB / 0.651 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.1458, allocations: 0.6111 MB / 0.6516 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.1471, allocations: 1.421 MB / 0.653 GB, free: 8.711 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004158/0.1475, allocations: 328.6 kB / 0.6533 GB, free: 8.379 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.1481, allocations: 0.5951 MB / 0.6539 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006542/0.1488, allocations: 0.731 MB / 0.6546 GB, free: 7.047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.1489, allocations: 104 kB / 0.6547 GB, free: 6.945 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.1493, allocations: 243.8 kB / 0.6549 GB, free: 6.707 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002029/0.1495, allocations: 278.8 kB / 0.6552 GB, free: 6.434 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004598/0.15, allocations: 0.6212 MB / 0.6558 GB, free: 5.809 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.1514, allocations: 1.525 MB / 0.6573 GB, free: 4.277 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1514, allocations: 0 / 0.6573 GB, free: 4.277 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1514, allocations: 0 / 0.6573 GB, free: 4.277 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.1514, allocations: 4 kB / 0.6573 GB, free: 4.273 MB / 462.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.007703/0.1591, allocations: 2.605 MB / 0.6598 GB, free: 1.613 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1592, allocations: 15.97 kB / 0.6598 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.1593, allocations: 122.8 kB / 0.6599 GB, free: 1.469 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.1643, allocations: 0.7835 MB / 0.6607 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.1655, allocations: 0.7851 MB / 0.6615 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.1658, allocations: 260.2 kB / 0.6617 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1659, allocations: 83.88 kB / 0.6618 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.1682, allocations: 1.081 MB / 0.6629 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/0.1683, allocations: 0 / 0.6629 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.36e-05/0.1684, allocations: 32 kB / 0.6629 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.1684, allocations: 20 kB / 0.6629 GB, free: 14.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.1708, allocations: 1.12 MB / 0.664 GB, free: 13.21 MB / 478.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.005965/0.1768, allocations: 3.441 MB / 0.6674 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.179, allocations: 1.437 MB / 0.6688 GB, free: 8.059 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/0.1806, allocations: 0.7813 MB / 0.6695 GB, free: 7.273 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.53e-05/0.1807, allocations: 20.97 kB / 0.6695 GB, free: 7.254 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.1807, allocations: 43.56 kB / 0.6696 GB, free: 7.203 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.346e-06/0.1808, allocations: 4 kB / 0.6696 GB, free: 7.199 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02528/0.206, allocations: 6.61 MB / 0.676 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2061, allocations: 64.34 kB / 0.6761 GB, free: 492 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.2073, allocations: 0.9002 MB / 0.677 GB, free: 15.56 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.2075, allocations: 49.69 kB / 0.677 GB, free: 15.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.2078, allocations: 0.4936 MB / 0.6775 GB, free: 15.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.2081, allocations: 352.9 kB / 0.6779 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.2085, allocations: 210.8 kB / 0.6781 GB, free: 14.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2086, allocations: 345.9 kB / 0.6784 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.2103, allocations: 0.7248 MB / 0.6791 GB, free: 13.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.212, allocations: 0.8501 MB / 0.6799 GB, free: 12.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01817/0.2302, allocations: 4.83 MB / 0.6846 GB, free: 7.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.567e-06/0.2302, allocations: 0 / 0.6846 GB, free: 7.633 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01358/0.2438, allocations: 4.281 MB / 0.6888 GB, free: 3.336 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.2439, allocations: 7.938 kB / 0.6888 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.2439, allocations: 4 kB / 0.6888 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006215/0.2501, allocations: 1.803 MB / 0.6906 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.2512, allocations: 211.7 kB / 0.6908 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/0.2727, allocations: 9.334 MB / 0.6999 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.2743, allocations: 175.2 kB / 0.7001 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.2744, allocations: 35.98 kB / 0.7001 GB, free: 7.613 MB / 0.4981 GB 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.0004738/0.2749, allocations: 262.3 kB / 0.7004 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.2751, allocations: 123.2 kB / 0.7005 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.2885, allocations: 4.018 MB / 0.7044 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/0.2885, allocations: 8 kB / 0.7044 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2886, allocations: 0 / 0.7044 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/0.2886, allocations: 7.984 kB / 0.7044 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.3045, allocations: 5.61 MB / 0.7099 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.3045, allocations: 4 kB / 0.7099 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/0.3052, allocations: 135.8 kB / 0.71 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00585/0.311, allocations: 1.737 MB / 0.7117 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.34e-05/0.3111, allocations: 19.94 kB / 0.7117 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/0.3292, allocations: 8.085 MB / 0.7196 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3293, allocations: 3.984 kB / 0.7196 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01503/0.3443, allocations: 4.969 MB / 0.7245 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005359/0.3449, allocations: 204.1 kB / 0.7247 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.3451, allocations: 16 kB / 0.7247 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.3462, allocations: 123.8 kB / 0.7248 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006753/0.3469, allocations: 208.7 kB / 0.725 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.3469, allocations: 27.98 kB / 0.725 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007426/0.3477, allocations: 0.6008 MB / 0.7256 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3477, allocations: 0 / 0.7256 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001253/0.3489, allocations: 439.6 kB / 0.7261 GB, free: 12.68 MB / 0.5294 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.01539/0.3643, allocations: 5.565 MB / 0.7315 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006867/0.3713, allocations: 2.494 MB / 0.7339 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3713, allocations: 4.125 kB / 0.7339 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004744/0.376, allocations: 1.6 MB / 0.7355 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/0.3769, allocations: 92.41 kB / 0.7356 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03738/0.4143, allocations: 15.37 MB / 0.7506 GB, free: 3.297 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.4149, allocations: 1.095 MB / 0.7517 GB, free: 2.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004142/0.4153, allocations: 86.77 kB / 0.7517 GB, free: 2.086 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005577/0.4159, allocations: 447.3 kB / 0.7522 GB, free: 1.648 MB / 0.545 GB Notification: Performance of SimCode: time 1.993e-06/0.4159, allocations: 0 / 0.7522 GB, free: 1.648 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3396/0.7556, allocations: 33.77 MB / 0.7851 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.19, allocations: 10.3 kB / 0.7852 GB, free: 116.2 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)