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.005067/0.005067, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.348/1.348, allocations: 222.9 MB / 239.4 MB, free: 4.504 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.00165/0.00165, allocations: 195.9 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.505/0.505, allocations: 91.97 MB / 431.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 80.25 kB / 0.5724 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1216, allocations: 71.29 MB / 0.642 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.008975/0.1306, allocations: 6.468 MB / 0.6483 GB, free: 13.47 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004618/0.1353, allocations: 1.865 MB / 0.6501 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.1364, allocations: 8 kB / 0.6501 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.1375, allocations: 222 kB / 0.6503 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00395/0.1415, allocations: 0.7232 MB / 0.651 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.144, allocations: 0.6071 MB / 0.6516 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003277/0.1473, allocations: 1.421 MB / 0.653 GB, free: 8.629 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.1484, allocations: 336.5 kB / 0.6533 GB, free: 8.289 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001586/0.15, allocations: 0.5912 MB / 0.6539 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001736/0.1518, allocations: 0.731 MB / 0.6546 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.1523, allocations: 104 kB / 0.6547 GB, free: 6.859 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.1535, allocations: 235.9 kB / 0.655 GB, free: 6.629 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000607/0.1541, allocations: 278.8 kB / 0.6552 GB, free: 6.355 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.1554, allocations: 0.6251 MB / 0.6558 GB, free: 5.727 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003542/0.1589, allocations: 1.529 MB / 0.6573 GB, free: 4.191 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.159, allocations: 0 / 0.6573 GB, free: 4.191 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.159, allocations: 0 / 0.6573 GB, free: 4.191 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.327e-05/0.1591, allocations: 4 kB / 0.6573 GB, free: 4.188 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.01601/0.1751, allocations: 2.597 MB / 0.6599 GB, free: 1.535 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.595e-05/0.1752, allocations: 12.03 kB / 0.6599 GB, free: 1.523 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004492/0.1757, allocations: 130.8 kB / 0.66 GB, free: 1.387 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.186, allocations: 0.7835 MB / 0.6608 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/0.1886, allocations: 0.789 MB / 0.6615 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005665/0.1892, allocations: 260 kB / 0.6618 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003557/0.1896, allocations: 76 kB / 0.6619 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004561/0.1941, allocations: 1.081 MB / 0.6629 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.1942, allocations: 0 / 0.6629 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.1944, allocations: 32 kB / 0.6629 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.1944, allocations: 20 kB / 0.663 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00449/0.1989, allocations: 1.12 MB / 0.6641 GB, free: 13.13 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.009067/0.208, allocations: 3.449 MB / 0.6674 GB, free: 9.531 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002572/0.2106, allocations: 1.43 MB / 0.6688 GB, free: 7.98 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.2125, allocations: 0.7851 MB / 0.6696 GB, free: 7.191 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001401/0.2127, allocations: 16.98 kB / 0.6696 GB, free: 7.176 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.2127, allocations: 39.56 kB / 0.6696 GB, free: 7.129 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 3.256e-06/0.2127, allocations: 0 / 0.6696 GB, free: 7.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02724/0.24, allocations: 6.614 MB / 0.6761 GB, free: 492 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/0.2401, allocations: 64.41 kB / 0.6762 GB, free: 416 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.2415, allocations: 0.9041 MB / 0.677 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001897/0.2417, allocations: 37.7 kB / 0.6771 GB, free: 15.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.2422, allocations: 0.5012 MB / 0.6776 GB, free: 14.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004951/0.2427, allocations: 360.9 kB / 0.6779 GB, free: 14.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005187/0.2432, allocations: 202.8 kB / 0.6781 GB, free: 14.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.2434, allocations: 357.9 kB / 0.6784 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.2452, allocations: 0.717 MB / 0.6791 GB, free: 13.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.2472, allocations: 0.8501 MB / 0.68 GB, free: 12.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/0.267, allocations: 4.822 MB / 0.6847 GB, free: 7.562 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.2671, allocations: 3.938 kB / 0.6847 GB, free: 7.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01496/0.2821, allocations: 4.281 MB / 0.6889 GB, free: 3.262 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/0.2821, allocations: 7.938 kB / 0.6889 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.2822, allocations: 4 kB / 0.6889 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006842/0.289, allocations: 1.815 MB / 0.6907 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.2902, allocations: 215.7 kB / 0.6909 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/0.3145, allocations: 9.328 MB / 0.7 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.3162, allocations: 179.2 kB / 0.7001 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/0.3164, allocations: 39.98 kB / 0.7002 GB, free: 7.523 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.000645/0.3171, allocations: 254.9 kB / 0.7004 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/0.3174, allocations: 123.2 kB / 0.7005 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/0.3315, allocations: 4.01 MB / 0.7045 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.3316, allocations: 8 kB / 0.7045 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3316, allocations: 4 kB / 0.7045 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.937e-05/0.3316, allocations: 7.969 kB / 0.7045 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01702/0.3487, allocations: 5.618 MB / 0.71 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.3487, allocations: 0 / 0.71 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008178/0.3496, allocations: 135.8 kB / 0.7101 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006508/0.3561, allocations: 1.741 MB / 0.7118 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002253/0.3563, allocations: 19.94 kB / 0.7118 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/0.3775, allocations: 8.081 MB / 0.7197 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3775, allocations: 0 / 0.7197 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/0.3939, allocations: 4.969 MB / 0.7246 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003932/0.3944, allocations: 212.1 kB / 0.7248 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.3947, allocations: 16 kB / 0.7248 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.3959, allocations: 115.8 kB / 0.7249 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008132/0.3967, allocations: 220.7 kB / 0.7251 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/0.3969, allocations: 24 kB / 0.7251 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009513/0.3978, allocations: 0.6047 MB / 0.7257 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3978, allocations: 4 kB / 0.7257 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001413/0.3993, allocations: 439.6 kB / 0.7261 GB, free: 12.59 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.01704/0.4163, allocations: 5.554 MB / 0.7315 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008509/0.4249, allocations: 2.507 MB / 0.734 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.4249, allocations: 0 / 0.734 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005772/0.4307, allocations: 1.597 MB / 0.7356 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4317, allocations: 88.42 kB / 0.7356 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0426/0.4743, allocations: 15.36 MB / 0.7506 GB, free: 3.223 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009584/0.4753, allocations: 1.099 MB / 0.7517 GB, free: 2.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004654/0.4758, allocations: 94.75 kB / 0.7518 GB, free: 2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007549/0.4766, allocations: 447.3 kB / 0.7522 GB, free: 1.562 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.4766, allocations: 0 / 0.7522 GB, free: 1.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3208/0.7975, allocations: 33.76 MB / 0.7852 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/17.52, allocations: 13.92 kB / 0.7852 GB, free: 116.1 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)