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.001408/0.001408, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 239.2 MB, free: 4.594 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.001248/0.001248, allocations: 196.5 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4415/0.4415, allocations: 78.53 MB / 418.2 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 83.88 kB / 497.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 68.17 MB / 0.5525 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.1967/0.3144, allocations: 6.428 MB / 0.5587 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.3175, allocations: 1.855 MB / 0.5606 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006138/0.3181, allocations: 12 kB / 0.5606 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.3186, allocations: 228.9 kB / 0.5608 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.3202, allocations: 0.7226 MB / 0.5615 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.3214, allocations: 0.6129 MB / 0.5621 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001183/0.3226, allocations: 1.407 MB / 0.5635 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.323, allocations: 322.4 kB / 0.5638 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.3236, allocations: 0.5919 MB / 0.5644 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005799/0.3242, allocations: 0.7317 MB / 0.5651 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3243, allocations: 104.6 kB / 0.5652 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.3247, allocations: 236.9 kB / 0.5654 GB, free: 34.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.3249, allocations: 279 kB / 0.5657 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.3253, allocations: 0.6258 MB / 0.5663 GB, free: 34.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.3264, allocations: 1.508 MB / 0.5677 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3264, allocations: 0 / 0.5677 GB, free: 33.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3264, allocations: 1.406 kB / 0.5677 GB, free: 33.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.3264, allocations: 0 / 0.5677 GB, free: 33.79 MB / 430.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.007389/0.3338, allocations: 2.562 MB / 0.5702 GB, free: 32.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.3339, allocations: 8.688 kB / 0.5703 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.334, allocations: 135.4 kB / 0.5704 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004784/0.3388, allocations: 0.7766 MB / 0.5711 GB, free: 32.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009119/0.3397, allocations: 0.7698 MB / 0.5719 GB, free: 32.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002142/0.34, allocations: 256.3 kB / 0.5721 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.3401, allocations: 77.17 kB / 0.5722 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.3422, allocations: 1.085 MB / 0.5733 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3422, allocations: 0 / 0.5733 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/0.3423, allocations: 34.16 kB / 0.5733 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.3423, allocations: 18.38 kB / 0.5733 GB, free: 32.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.3446, allocations: 1.123 MB / 0.5744 GB, free: 32.08 MB / 430.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.004871/0.3495, allocations: 3.461 MB / 0.5778 GB, free: 30.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.3513, allocations: 1.429 MB / 0.5792 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.3527, allocations: 0.7856 MB / 0.58 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.705e-05/0.3528, allocations: 16 kB / 0.58 GB, free: 29.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.3529, allocations: 43.31 kB / 0.58 GB, free: 29.63 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.805e-06/0.3529, allocations: 0 / 0.58 GB, free: 29.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02524/0.3781, allocations: 6.605 MB / 0.5865 GB, free: 28.38 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3782, allocations: 62.22 kB / 0.5865 GB, free: 28.31 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3793, allocations: 0.8991 MB / 0.5874 GB, free: 27.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001484/0.3795, allocations: 45.2 kB / 0.5875 GB, free: 27.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.3798, allocations: 0.4919 MB / 0.5879 GB, free: 27.49 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.38, allocations: 351.4 kB / 0.5883 GB, free: 27.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/0.3804, allocations: 201 kB / 0.5885 GB, free: 27.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.3805, allocations: 352.1 kB / 0.5888 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.3821, allocations: 0.7216 MB / 0.5895 GB, free: 26.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.3839, allocations: 0.8461 MB / 0.5903 GB, free: 26.18 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01875/0.4026, allocations: 4.841 MB / 0.5951 GB, free: 24.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.4027, allocations: 2.188 kB / 0.5951 GB, free: 24.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01392/0.4166, allocations: 4.265 MB / 0.5992 GB, free: 23.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.4167, allocations: 9.094 kB / 0.5992 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4167, allocations: 3.25 kB / 0.5992 GB, free: 23.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006731/0.4234, allocations: 1.816 MB / 0.601 GB, free: 23.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.4246, allocations: 209.8 kB / 0.6012 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02174/0.4463, allocations: 9.334 MB / 0.6103 GB, free: 18.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.4479, allocations: 180.2 kB / 0.6105 GB, free: 18.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.448, allocations: 39.48 kB / 0.6105 GB, free: 18.45 MB / 430.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.000437/0.4485, allocations: 247.8 kB / 0.6108 GB, free: 18.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.4487, allocations: 120.2 kB / 0.6109 GB, free: 18.18 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.4613, allocations: 4.013 MB / 0.6148 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.4614, allocations: 12.61 kB / 0.6148 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.4614, allocations: 0 / 0.6148 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4614, allocations: 7.984 kB / 0.6148 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.4752, allocations: 5.616 MB / 0.6203 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.4753, allocations: 4 kB / 0.6203 GB, free: 9.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/0.476, allocations: 132.7 kB / 0.6204 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005648/0.4816, allocations: 1.748 MB / 0.6221 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/0.4818, allocations: 23.88 kB / 0.6222 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0175/0.4993, allocations: 8.079 MB / 0.6301 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4993, allocations: 0 / 0.6301 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01613/0.5155, allocations: 4.962 MB / 0.6349 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003841/0.5159, allocations: 209.6 kB / 0.6351 GB, free: 9.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.5161, allocations: 16 kB / 0.6351 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.5172, allocations: 111.8 kB / 0.6352 GB, free: 9.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006976/0.5179, allocations: 220.7 kB / 0.6354 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.518, allocations: 23.98 kB / 0.6355 GB, free: 9.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000762/0.5188, allocations: 0.6024 MB / 0.636 GB, free: 8.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5188, allocations: 4 kB / 0.636 GB, free: 8.793 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001244/0.5201, allocations: 439.4 kB / 0.6365 GB, free: 8.359 MB / 446.1 MB 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.01609/0.5361, allocations: 5.54 MB / 0.6419 GB, free: 2.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007527/0.5437, allocations: 2.525 MB / 0.6443 GB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5437, allocations: 0 / 0.6443 GB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004928/0.5487, allocations: 1.597 MB / 0.6459 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007793/0.5495, allocations: 89.36 kB / 0.646 GB, free: 14.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03883/0.5883, allocations: 15.94 MB / 0.6616 GB, free: 14.24 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.589, allocations: 1.106 MB / 0.6626 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000443/0.5895, allocations: 90.58 kB / 0.6627 GB, free: 13.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/0.59, allocations: 447.3 kB / 0.6631 GB, free: 12.58 MB / 478.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5901, allocations: 0 / 0.6631 GB, free: 12.58 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06686/0.6569, allocations: 33.35 MB / 0.6957 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.13, allocations: 10.34 kB / 0.6957 GB, free: 11.58 MB / 0.4981 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)