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-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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-master/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07793/0.07793, allocations: 12.59 MB / 28.22 MB, free: 0.7656 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 111.4 kB / 31.84 MB, free: 3.898 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 195.7 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.406/0.406, allocations: 78.52 MB / 419.3 MB, free: 11.23 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.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.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003692/0.003692, allocations: 144.1 kB / 0.5554 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1073, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007278/0.1146, allocations: 6.476 MB / 0.6282 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.1177, allocations: 1.838 MB / 0.63 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003454/0.1181, allocations: 12 kB / 0.6301 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004643/0.1185, allocations: 218 kB / 0.6303 GB, free: 7.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.12, allocations: 0.7251 MB / 0.631 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001159/0.1212, allocations: 0.6111 MB / 0.6316 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001391/0.1226, allocations: 1.421 MB / 0.633 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.123, allocations: 324.3 kB / 0.6333 GB, free: 4.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006156/0.1237, allocations: 0.5951 MB / 0.6338 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007956/0.1245, allocations: 0.7388 MB / 0.6346 GB, free: 2.914 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.1246, allocations: 100 kB / 0.6347 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004111/0.125, allocations: 235.9 kB / 0.6349 GB, free: 2.586 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.1253, allocations: 282.8 kB / 0.6352 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005338/0.1258, allocations: 0.6213 MB / 0.6358 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001521/0.1273, allocations: 1.528 MB / 0.6373 GB, free: 152 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1274, allocations: 0 / 0.6373 GB, free: 152 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1274, allocations: 4 kB / 0.6373 GB, free: 148 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.1274, allocations: 0 / 0.6373 GB, free: 148 kB / 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.007517/0.1349, allocations: 2.602 MB / 0.6398 GB, free: 13.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.135, allocations: 19.92 kB / 0.6398 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001547/0.1351, allocations: 122.8 kB / 0.6399 GB, free: 13.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004824/0.14, allocations: 0.7952 MB / 0.6407 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.1411, allocations: 0.7812 MB / 0.6415 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.1414, allocations: 248.2 kB / 0.6417 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.1415, allocations: 91.89 kB / 0.6418 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.1438, allocations: 1.077 MB / 0.6429 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.1438, allocations: 3.938 kB / 0.6429 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.785e-05/0.1439, allocations: 36 kB / 0.6429 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.1439, allocations: 19.94 kB / 0.6429 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.1465, allocations: 1.124 MB / 0.644 GB, free: 9.062 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.005744/0.1523, allocations: 3.437 MB / 0.6474 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.1546, allocations: 1.436 MB / 0.6488 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.1563, allocations: 0.7813 MB / 0.6495 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.1564, allocations: 12.98 kB / 0.6495 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.1564, allocations: 43.56 kB / 0.6496 GB, free: 3.078 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.1564, allocations: 0 / 0.6496 GB, free: 3.078 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02541/0.1818, allocations: 6.614 MB / 0.656 GB, free: 12.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1819, allocations: 64.41 kB / 0.6561 GB, free: 12.36 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.183, allocations: 0.8963 MB / 0.657 GB, free: 11.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.269e-05/0.1831, allocations: 41.7 kB / 0.657 GB, free: 11.39 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.1835, allocations: 0.4936 MB / 0.6575 GB, free: 10.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.1839, allocations: 364.8 kB / 0.6578 GB, free: 10.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004007/0.1843, allocations: 202.9 kB / 0.658 GB, free: 10.33 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.1845, allocations: 357.9 kB / 0.6584 GB, free: 9.973 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.1862, allocations: 0.717 MB / 0.6591 GB, free: 9.258 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.188, allocations: 0.854 MB / 0.6599 GB, free: 8.371 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01861/0.2066, allocations: 4.818 MB / 0.6646 GB, free: 3.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.2066, allocations: 0 / 0.6646 GB, free: 3.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01373/0.2204, allocations: 4.281 MB / 0.6688 GB, free: 15.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.2204, allocations: 18.89 kB / 0.6688 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.2204, allocations: 4 kB / 0.6688 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006255/0.2267, allocations: 1.803 MB / 0.6706 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.2277, allocations: 207.7 kB / 0.6708 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02201/0.2498, allocations: 9.332 MB / 0.6799 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.2511, allocations: 179.3 kB / 0.6801 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/0.2512, allocations: 39.98 kB / 0.6801 GB, free: 3.488 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.0004479/0.2517, allocations: 253.5 kB / 0.6803 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.2519, allocations: 123.2 kB / 0.6805 GB, free: 3.109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.2653, allocations: 4.01 MB / 0.6844 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.2653, allocations: 12 kB / 0.6844 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.2654, allocations: 3.938 kB / 0.6844 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/0.2654, allocations: 7.969 kB / 0.6844 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.2805, allocations: 5.61 MB / 0.6899 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.2805, allocations: 7.938 kB / 0.6899 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.2812, allocations: 131.8 kB / 0.69 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005958/0.2871, allocations: 1.745 MB / 0.6917 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.034e-05/0.2872, allocations: 19.94 kB / 0.6917 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01894/0.3062, allocations: 8.089 MB / 0.6996 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3062, allocations: 0 / 0.6996 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/0.3217, allocations: 4.965 MB / 0.7045 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.322, allocations: 208.1 kB / 0.7047 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.3221, allocations: 20 kB / 0.7047 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.3232, allocations: 111.8 kB / 0.7048 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006609/0.3238, allocations: 220.7 kB / 0.705 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-05/0.3239, allocations: 23.98 kB / 0.705 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007745/0.3247, allocations: 0.5969 MB / 0.7056 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3247, allocations: 0 / 0.7056 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00108/0.3258, allocations: 447.6 kB / 0.7061 GB, free: 8.547 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.01562/0.3414, allocations: 5.55 MB / 0.7115 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006805/0.3482, allocations: 2.514 MB / 0.7139 GB, free: 448 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3483, allocations: 4 kB / 0.7139 GB, free: 444 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2117/0.56, allocations: 1.589 MB / 0.7155 GB, free: 87.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007173/0.5607, allocations: 91.86 kB / 0.7156 GB, free: 87.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03757/0.5983, allocations: 15.37 MB / 0.7306 GB, free: 82.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.5988, allocations: 1.099 MB / 0.7317 GB, free: 82.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003469/0.5992, allocations: 89.16 kB / 0.7317 GB, free: 82.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004431/0.5996, allocations: 442.4 kB / 0.7322 GB, free: 81.86 MB / 0.5137 GB Notification: Performance of SimCode: time 4.71e-07/0.5996, allocations: 1.219 kB / 0.7322 GB, free: 81.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/0.6576, allocations: 33.78 MB / 0.7652 GB, free: 54.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.44, allocations: 7.328 kB / 0.7652 GB, free: 54.49 MB / 0.5137 GB (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)