Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.005787/0.005788, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.366/1.366, allocations: 222.9 MB / 239.4 MB, free: 4.406 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.0015/0.0015, allocations: 188.5 kB / 289.7 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5256/0.5256, allocations: 91.97 MB / 431.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 80.73 kB / 0.5724 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1284, allocations: 71.29 MB / 0.642 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007116/0.1355, allocations: 6.4 MB / 0.6482 GB, free: 13.54 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003643/0.1392, allocations: 1.849 MB / 0.65 GB, free: 11.69 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.1399, allocations: 15.94 kB / 0.65 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.1404, allocations: 214.1 kB / 0.6502 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.1421, allocations: 0.7264 MB / 0.651 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.1434, allocations: 0.6021 MB / 0.6515 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.145, allocations: 1.405 MB / 0.6529 GB, free: 8.734 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.1455, allocations: 336.5 kB / 0.6532 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007463/0.1462, allocations: 0.5796 MB / 0.6538 GB, free: 7.809 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008411/0.1471, allocations: 0.7193 MB / 0.6545 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.1472, allocations: 100 kB / 0.6546 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004712/0.1477, allocations: 239.8 kB / 0.6548 GB, free: 6.754 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.148, allocations: 278.8 kB / 0.6551 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005446/0.1485, allocations: 0.6174 MB / 0.6557 GB, free: 5.859 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.1503, allocations: 1.513 MB / 0.6572 GB, free: 4.34 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1503, allocations: 0 / 0.6572 GB, free: 4.34 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1503, allocations: 3.938 kB / 0.6572 GB, free: 4.336 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.1503, allocations: 0 / 0.6572 GB, free: 4.336 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007774/0.1581, allocations: 2.582 MB / 0.6597 GB, free: 1.699 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1581, allocations: 12.03 kB / 0.6597 GB, free: 1.688 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.1583, allocations: 134.7 kB / 0.6598 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004801/0.1631, allocations: 0.7796 MB / 0.6606 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.1644, allocations: 0.7694 MB / 0.6614 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.1647, allocations: 264.2 kB / 0.6616 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.1649, allocations: 76 kB / 0.6617 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.1672, allocations: 1.073 MB / 0.6627 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1672, allocations: 0 / 0.6627 GB, free: 14.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/0.1673, allocations: 32 kB / 0.6628 GB, free: 14.45 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.1674, allocations: 20 kB / 0.6628 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002572/0.1699, allocations: 1.117 MB / 0.6639 GB, free: 13.32 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.005879/0.1758, allocations: 3.429 MB / 0.6672 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/0.1781, allocations: 1.41 MB / 0.6686 GB, free: 8.211 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.1798, allocations: 0.7812 MB / 0.6694 GB, free: 7.426 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.1799, allocations: 9 kB / 0.6694 GB, free: 7.418 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.18, allocations: 47.56 kB / 0.6694 GB, free: 7.363 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.555e-06/0.18, allocations: 0 / 0.6694 GB, free: 7.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02739/0.2074, allocations: 6.754 MB / 0.676 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.2075, allocations: 68.34 kB / 0.6761 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.2087, allocations: 0.8801 MB / 0.6769 GB, free: 15.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.2089, allocations: 41.7 kB / 0.677 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.2094, allocations: 0.4973 MB / 0.6775 GB, free: 15.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.2098, allocations: 353 kB / 0.6778 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/0.2103, allocations: 194.9 kB / 0.678 GB, free: 14.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2104, allocations: 357.9 kB / 0.6783 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.2122, allocations: 0.7092 MB / 0.679 GB, free: 13.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/0.214, allocations: 0.8423 MB / 0.6798 GB, free: 12.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/0.2332, allocations: 4.779 MB / 0.6845 GB, free: 7.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.2333, allocations: 0 / 0.6845 GB, free: 7.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0148/0.2481, allocations: 4.262 MB / 0.6887 GB, free: 3.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.2482, allocations: 9.25 kB / 0.6887 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.2482, allocations: 4 kB / 0.6887 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006646/0.2548, allocations: 1.858 MB / 0.6905 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.2559, allocations: 207.6 kB / 0.6907 GB, free: 1.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/0.2794, allocations: 9.097 MB / 0.6996 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.2812, allocations: 187.2 kB / 0.6997 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003042/0.2815, allocations: 39.98 kB / 0.6998 GB, free: 7.926 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.000769/0.2823, allocations: 241.5 kB / 0.7 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003565/0.2827, allocations: 123.2 kB / 0.7001 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.297, allocations: 4.006 MB / 0.704 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.297, allocations: 8 kB / 0.7041 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.297, allocations: 7.938 kB / 0.7041 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-05/0.2971, allocations: 3.984 kB / 0.7041 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01714/0.3142, allocations: 5.614 MB / 0.7095 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.3143, allocations: 0 / 0.7095 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007821/0.3151, allocations: 131.8 kB / 0.7097 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006397/0.3215, allocations: 1.741 MB / 0.7114 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.3217, allocations: 16 kB / 0.7114 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02042/0.3422, allocations: 8.077 MB / 0.7193 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.3422, allocations: 0 / 0.7193 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01683/0.359, allocations: 4.976 MB / 0.7241 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/0.3596, allocations: 212.1 kB / 0.7243 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003688/0.36, allocations: 16 kB / 0.7244 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.3613, allocations: 111.9 kB / 0.7245 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008326/0.3622, allocations: 228.6 kB / 0.7247 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.3623, allocations: 20 kB / 0.7247 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009258/0.3632, allocations: 0.6004 MB / 0.7253 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3633, allocations: 0 / 0.7253 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001643/0.3649, allocations: 435.6 kB / 0.7257 GB, free: 13.02 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.01666/0.3816, allocations: 5.55 MB / 0.7311 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007581/0.3892, allocations: 2.477 MB / 0.7335 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.3892, allocations: 0 / 0.7335 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/0.3945, allocations: 1.585 MB / 0.7351 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009485/0.3954, allocations: 94.64 kB / 0.7352 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04179/0.4372, allocations: 15.17 MB / 0.75 GB, free: 3.883 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/0.4382, allocations: 1.084 MB / 0.751 GB, free: 2.773 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004543/0.4386, allocations: 86.67 kB / 0.7511 GB, free: 2.684 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00073/0.4394, allocations: 451.3 kB / 0.7516 GB, free: 2.242 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/0.4394, allocations: 0 / 0.7516 GB, free: 2.242 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3386/0.7779, allocations: 33.27 MB / 0.7841 GB, free: 116.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/17.63, allocations: 15.23 kB / 0.7841 GB, free: 116.3 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)