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.007589/0.007589, allocations: 100 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.268/1.268, 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.001442/0.001442, allocations: 184.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.0.1/package.mo): time 0.4283/0.4283, allocations: 78.54 MB / 418.4 MB, free: 3.164 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 72.11 kB / 0.5532 GB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3193, allocations: 68.17 MB / 0.6197 GB, free: 9.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005225/0.3246, allocations: 6.444 MB / 0.626 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003318/0.3279, allocations: 1.868 MB / 0.6278 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008143/0.3288, allocations: 12 kB / 0.6279 GB, free: 1.781 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.3294, allocations: 222 kB / 0.6281 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.3312, allocations: 0.7616 MB / 0.6288 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3324, allocations: 0.6087 MB / 0.6294 GB, free: 204 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001685/0.3341, allocations: 1.417 MB / 0.6308 GB, free: 14.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005049/0.3346, allocations: 328.3 kB / 0.6311 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007558/0.3353, allocations: 0.5873 MB / 0.6317 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.3361, allocations: 0.7388 MB / 0.6324 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001568/0.3363, allocations: 100 kB / 0.6325 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.3368, allocations: 243.9 kB / 0.6327 GB, free: 12.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002245/0.337, allocations: 274.8 kB / 0.633 GB, free: 12.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000519/0.3375, allocations: 0.629 MB / 0.6336 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.339, allocations: 1.529 MB / 0.6351 GB, free: 10.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.339, allocations: 0 / 0.6351 GB, free: 10.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.339, allocations: 3.938 kB / 0.6351 GB, free: 10.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.055e-05/0.3391, allocations: 0 / 0.6351 GB, free: 10.34 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.007924/0.347, allocations: 2.598 MB / 0.6376 GB, free: 7.684 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3471, allocations: 15.97 kB / 0.6376 GB, free: 7.668 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.3472, allocations: 134.8 kB / 0.6378 GB, free: 7.527 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004881/0.3521, allocations: 0.7913 MB / 0.6385 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.3535, allocations: 0.785 MB / 0.6393 GB, free: 5.895 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/0.3538, allocations: 256.2 kB / 0.6396 GB, free: 5.609 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.354, allocations: 83.92 kB / 0.6396 GB, free: 5.527 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.3563, allocations: 1.089 MB / 0.6407 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3563, allocations: 0 / 0.6407 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.443e-05/0.3564, allocations: 32 kB / 0.6407 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.3564, allocations: 20 kB / 0.6408 GB, free: 4.383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.3589, allocations: 1.117 MB / 0.6418 GB, free: 3.262 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.005642/0.3645, allocations: 3.437 MB / 0.6452 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002062/0.3666, allocations: 1.427 MB / 0.6466 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.3682, allocations: 0.7813 MB / 0.6474 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.675e-05/0.3683, allocations: 16.98 kB / 0.6474 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3683, allocations: 39.56 kB / 0.6474 GB, free: 13.28 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.905e-06/0.3684, allocations: 0 / 0.6474 GB, free: 13.28 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02503/0.3934, allocations: 6.614 MB / 0.6539 GB, free: 6.633 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.3935, allocations: 68.41 kB / 0.6539 GB, free: 6.551 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3946, allocations: 0.9002 MB / 0.6548 GB, free: 5.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.3948, allocations: 37.7 kB / 0.6548 GB, free: 5.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.3952, allocations: 0.4975 MB / 0.6553 GB, free: 5.086 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.3955, allocations: 356.9 kB / 0.6557 GB, free: 4.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003742/0.3959, allocations: 202.8 kB / 0.6559 GB, free: 4.527 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3961, allocations: 357.9 kB / 0.6562 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001638/0.3977, allocations: 0.717 MB / 0.6569 GB, free: 3.457 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/0.3994, allocations: 0.854 MB / 0.6577 GB, free: 2.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01826/0.4177, allocations: 4.826 MB / 0.6625 GB, free: 13.71 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.4177, allocations: 0 / 0.6625 GB, free: 13.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01367/0.4314, allocations: 4.281 MB / 0.6666 GB, free: 9.414 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.4315, allocations: 7.938 kB / 0.6666 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4315, allocations: 7.938 kB / 0.6667 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006117/0.4376, allocations: 1.807 MB / 0.6684 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4387, allocations: 215.7 kB / 0.6686 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/0.4596, allocations: 9.331 MB / 0.6777 GB, free: 13.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.4611, allocations: 179.2 kB / 0.6779 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.4612, allocations: 39.98 kB / 0.6779 GB, free: 13.68 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.0004815/0.4617, allocations: 245.6 kB / 0.6782 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/0.4619, allocations: 123.2 kB / 0.6783 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.4749, allocations: 4.022 MB / 0.6822 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.268e-05/0.475, allocations: 8 kB / 0.6822 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.475, allocations: 0 / 0.6822 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-05/0.475, allocations: 7.969 kB / 0.6822 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.4901, allocations: 5.622 MB / 0.6877 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.4902, allocations: 0 / 0.6877 GB, free: 3.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000779/0.4909, allocations: 131.8 kB / 0.6879 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005867/0.4968, allocations: 1.749 MB / 0.6896 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001743/0.497, allocations: 23.92 kB / 0.6896 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/0.5159, allocations: 8.062 MB / 0.6975 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5159, allocations: 0 / 0.6975 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.5312, allocations: 4.976 MB / 0.7023 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004504/0.5317, allocations: 212.1 kB / 0.7025 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/0.532, allocations: 16 kB / 0.7025 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.5333, allocations: 111.8 kB / 0.7026 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000744/0.5341, allocations: 220.7 kB / 0.7029 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/0.5343, allocations: 20 kB / 0.7029 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008399/0.5351, allocations: 0.6047 MB / 0.7035 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5351, allocations: 4 kB / 0.7035 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001452/0.5366, allocations: 443.6 kB / 0.7039 GB, free: 2.75 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.01569/0.5523, allocations: 5.558 MB / 0.7093 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0074/0.5597, allocations: 2.521 MB / 0.7118 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5598, allocations: 0 / 0.7118 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004999/0.5648, allocations: 1.597 MB / 0.7133 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.5659, allocations: 84.42 kB / 0.7134 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03905/0.605, allocations: 15.36 MB / 0.7284 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.6058, allocations: 1.095 MB / 0.7295 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004317/0.6062, allocations: 90.75 kB / 0.7296 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006996/0.607, allocations: 447.3 kB / 0.73 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of SimCode: time 2.715e-06/0.607, allocations: 0 / 0.73 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/0.6702, allocations: 33.77 MB / 0.763 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.72/17.39, allocations: 4 kB / 0.763 GB, free: 6.078 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)