Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08634/0.08634, allocations: 12.36 MB / 28.71 MB, free: 0.6016 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 115.2 kB / 34.42 MB, free: 1.68 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 207.6 MB / 247.6 MB, free: 8.859 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 208.4 kB / 302.5 MB, free: 2.375 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3241/0.3241, allocations: 79.73 MB / 436.9 MB, free: 11.72 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003969/0.003969, allocations: 143.8 kB / 0.5819 GB, free: 7.922 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3267, allocations: 71.93 MB / 0.6521 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007593/0.3343, allocations: 6.512 MB / 0.6585 GB, free: 8.352 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003666/0.338, allocations: 1.838 MB / 0.6603 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.3385, allocations: 15.94 kB / 0.6603 GB, free: 6.488 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005236/0.339, allocations: 222 kB / 0.6605 GB, free: 6.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.3408, allocations: 0.7836 MB / 0.6613 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3421, allocations: 0.6113 MB / 0.6619 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.3436, allocations: 1.417 MB / 0.6633 GB, free: 3.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.344, allocations: 228.3 kB / 0.6635 GB, free: 3.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000717/0.3447, allocations: 0.6068 MB / 0.6641 GB, free: 2.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008044/0.3455, allocations: 0.7388 MB / 0.6648 GB, free: 1.867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.3457, allocations: 108 kB / 0.6649 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004364/0.3461, allocations: 239.9 kB / 0.6651 GB, free: 1.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.3464, allocations: 274.8 kB / 0.6654 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005315/0.3469, allocations: 0.633 MB / 0.666 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.3486, allocations: 1.527 MB / 0.6675 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3486, allocations: 0 / 0.6675 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3486, allocations: 3.938 kB / 0.6675 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.838e-05/0.3486, allocations: 0 / 0.6675 GB, free: 15.09 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.008158/0.3568, allocations: 2.598 MB / 0.6701 GB, free: 12.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3568, allocations: 15.98 kB / 0.6701 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.357, allocations: 126.8 kB / 0.6702 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004918/0.3619, allocations: 0.7874 MB / 0.671 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.3632, allocations: 0.7889 MB / 0.6717 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000309/0.3635, allocations: 260.2 kB / 0.672 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.3636, allocations: 79.95 kB / 0.6721 GB, free: 10.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.366, allocations: 1.081 MB / 0.6731 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.366, allocations: 0 / 0.6731 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.594e-05/0.3661, allocations: 32 kB / 0.6731 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.3661, allocations: 20 kB / 0.6732 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/0.3687, allocations: 1.12 MB / 0.6743 GB, free: 8.023 MB / 462.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.005894/0.3746, allocations: 3.445 MB / 0.6776 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.3769, allocations: 1.341 MB / 0.6789 GB, free: 2.973 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.3785, allocations: 0.7031 MB / 0.6796 GB, free: 2.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.3786, allocations: 13 kB / 0.6796 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.3787, allocations: 43.56 kB / 0.6797 GB, free: 2.207 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.386e-06/0.3787, allocations: 0 / 0.6797 GB, free: 2.207 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02636/0.4051, allocations: 6.579 MB / 0.6861 GB, free: 11.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/0.4051, allocations: 64.41 kB / 0.6862 GB, free: 11.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.4064, allocations: 0.9041 MB / 0.687 GB, free: 10.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002234/0.4066, allocations: 41.7 kB / 0.6871 GB, free: 10.55 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.4071, allocations: 0.4975 MB / 0.6876 GB, free: 10.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004/0.4075, allocations: 364.8 kB / 0.6879 GB, free: 9.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.4079, allocations: 194.9 kB / 0.6881 GB, free: 9.484 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.408, allocations: 357.9 kB / 0.6884 GB, free: 9.129 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.4098, allocations: 0.7247 MB / 0.6891 GB, free: 8.406 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001843/0.4116, allocations: 0.8501 MB / 0.69 GB, free: 7.523 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0196/0.4312, allocations: 4.826 MB / 0.6947 GB, free: 2.664 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.4312, allocations: 0 / 0.6947 GB, free: 2.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01435/0.4456, allocations: 4.246 MB / 0.6988 GB, free: 14.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/0.4456, allocations: 11.94 kB / 0.6988 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.4456, allocations: 3.828 kB / 0.6988 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006529/0.4522, allocations: 1.807 MB / 0.7006 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.4532, allocations: 211.7 kB / 0.7008 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.4759, allocations: 9.324 MB / 0.7099 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4774, allocations: 171.3 kB / 0.7101 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.4775, allocations: 43.98 kB / 0.7101 GB, free: 2.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.000489/0.478, allocations: 257.7 kB / 0.7104 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.4782, allocations: 123.2 kB / 0.7105 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01371/0.4919, allocations: 3.979 MB / 0.7144 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.4919, allocations: 8 kB / 0.7144 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.4919, allocations: 4 kB / 0.7144 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.626e-05/0.4919, allocations: 7.969 kB / 0.7144 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.5081, allocations: 5.583 MB / 0.7198 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/0.5082, allocations: 0 / 0.7198 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007723/0.5089, allocations: 123.9 kB / 0.72 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00621/0.5151, allocations: 1.745 MB / 0.7217 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.5153, allocations: 23.92 kB / 0.7217 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01947/0.5348, allocations: 8.081 MB / 0.7296 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5348, allocations: 4 kB / 0.7296 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01609/0.5509, allocations: 4.941 MB / 0.7344 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.5513, allocations: 212 kB / 0.7346 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.5515, allocations: 16 kB / 0.7346 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.5526, allocations: 111.8 kB / 0.7347 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007411/0.5533, allocations: 220.7 kB / 0.7349 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.981e-05/0.5534, allocations: 24 kB / 0.735 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008521/0.5543, allocations: 0.6008 MB / 0.7356 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5543, allocations: 0 / 0.7356 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001317/0.5556, allocations: 439.6 kB / 0.736 GB, free: 7.844 MB / 0.5137 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.01642/0.572, allocations: 5.527 MB / 0.7414 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007152/0.5791, allocations: 2.39 MB / 0.7437 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5791, allocations: 0 / 0.7437 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005018/0.5842, allocations: 1.531 MB / 0.7452 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.5849, allocations: 87.7 kB / 0.7453 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03975/0.6247, allocations: 15.3 MB / 0.7602 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007278/0.6254, allocations: 1.091 MB / 0.7613 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004202/0.6258, allocations: 94.75 kB / 0.7614 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/0.6265, allocations: 447.3 kB / 0.7618 GB, free: 13.11 MB / 0.545 GB Notification: Performance of SimCode: time 1.503e-06/0.6265, allocations: 0 / 0.7618 GB, free: 13.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07276/0.6992, allocations: 34.06 MB / 0.7951 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.7/17.4, allocations: 4.062 kB / 0.7951 GB, free: 11.1 MB / 0.5762 GB " [Timeout remaining time 642] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.593370175003656] Failed to read output from testmodel.py, exit status != 0: 17.506678435995127 17.520769524 17.169446882 Calling exit ...