Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.1247/0.1247, 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.001371/0.001371, allocations: 115.4 kB / 31.83 MB, free: 3.895 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.336/1.336, 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.001327/0.001327, allocations: 180.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4177/0.4177, allocations: 78.51 MB / 419.3 MB, free: 11.25 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.002582/0.002583, allocations: 138.7 kB / 0.5554 GB, free: 28.78 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1265, allocations: 68.12 MB / 0.6219 GB, free: 32 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006322/0.1328, allocations: 6.433 MB / 0.6282 GB, free: 9.566 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.1361, allocations: 1.818 MB / 0.63 GB, free: 7.742 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004981/0.1366, allocations: 12 kB / 0.63 GB, free: 7.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.1371, allocations: 218 kB / 0.6302 GB, free: 7.516 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.1387, allocations: 0.7648 MB / 0.6309 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1399, allocations: 0.5963 MB / 0.6315 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.1412, allocations: 1.402 MB / 0.6329 GB, free: 4.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.1416, allocations: 336.2 kB / 0.6332 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006041/0.1422, allocations: 0.5873 MB / 0.6338 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.1429, allocations: 0.7311 MB / 0.6345 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.143, allocations: 100 kB / 0.6346 GB, free: 2.984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.1434, allocations: 227.9 kB / 0.6348 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.1436, allocations: 286.7 kB / 0.6351 GB, free: 2.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.1441, allocations: 0.6174 MB / 0.6357 GB, free: 1.859 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.1455, allocations: 1.509 MB / 0.6372 GB, free: 352 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1455, allocations: 0 / 0.6372 GB, free: 352 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1455, allocations: 0 / 0.6372 GB, free: 352 kB / 446.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.1455, allocations: 4 kB / 0.6372 GB, free: 348 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007824/0.1533, allocations: 2.582 MB / 0.6397 GB, free: 13.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.1534, allocations: 15.98 kB / 0.6397 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.1536, allocations: 122.8 kB / 0.6398 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/0.1586, allocations: 0.7874 MB / 0.6406 GB, free: 12.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.1598, allocations: 0.7732 MB / 0.6413 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002819/0.1601, allocations: 256.2 kB / 0.6416 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.1603, allocations: 76 kB / 0.6417 GB, free: 11.58 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002264/0.1626, allocations: 1.077 MB / 0.6427 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.1626, allocations: 4 kB / 0.6427 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.1627, allocations: 31.98 kB / 0.6427 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/0.1627, allocations: 20 kB / 0.6428 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.1652, allocations: 1.113 MB / 0.6438 GB, free: 9.324 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.005388/0.1706, allocations: 3.425 MB / 0.6472 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.1727, allocations: 1.409 MB / 0.6486 GB, free: 4.223 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.1743, allocations: 0.7813 MB / 0.6493 GB, free: 3.441 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.529e-05/0.1744, allocations: 13 kB / 0.6493 GB, free: 3.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1745, allocations: 43.56 kB / 0.6494 GB, free: 3.379 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 4.358e-06/0.1745, allocations: 3.984 kB / 0.6494 GB, free: 3.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02626/0.2008, allocations: 6.754 MB / 0.656 GB, free: 12.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.2008, allocations: 60.41 kB / 0.656 GB, free: 12.52 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2018, allocations: 0.8838 MB / 0.6569 GB, free: 11.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001062/0.2019, allocations: 49.7 kB / 0.657 GB, free: 11.56 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/0.2023, allocations: 0.4973 MB / 0.6574 GB, free: 11.05 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.2026, allocations: 353 kB / 0.6578 GB, free: 10.71 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.203, allocations: 198.8 kB / 0.658 GB, free: 10.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2031, allocations: 353.9 kB / 0.6583 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/0.2047, allocations: 0.717 MB / 0.659 GB, free: 9.438 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.2064, allocations: 0.8345 MB / 0.6598 GB, free: 8.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01818/0.2246, allocations: 4.775 MB / 0.6645 GB, free: 3.758 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2246, allocations: 0 / 0.6645 GB, free: 3.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01384/0.2384, allocations: 4.266 MB / 0.6686 GB, free: 15.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.324e-05/0.2385, allocations: 4 kB / 0.6686 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.2386, allocations: 8 kB / 0.6687 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00644/0.245, allocations: 1.863 MB / 0.6705 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.2461, allocations: 211.6 kB / 0.6707 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02103/0.2672, allocations: 9.093 MB / 0.6796 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.2687, allocations: 171.3 kB / 0.6797 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.2688, allocations: 39.98 kB / 0.6798 GB, free: 3.938 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0004711/0.2693, allocations: 245.5 kB / 0.68 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.2695, allocations: 127.2 kB / 0.6801 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.2829, allocations: 4.002 MB / 0.684 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.2829, allocations: 8 kB / 0.684 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.283, allocations: 3.938 kB / 0.684 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.636e-05/0.283, allocations: 3.984 kB / 0.684 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01556/0.2986, allocations: 5.622 MB / 0.6895 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/0.2986, allocations: 4 kB / 0.6895 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007544/0.2994, allocations: 127.8 kB / 0.6897 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006089/0.3055, allocations: 1.745 MB / 0.6914 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001637/0.3057, allocations: 19.98 kB / 0.6914 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/0.3246, allocations: 8.078 MB / 0.6993 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3246, allocations: 0 / 0.6993 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01585/0.3405, allocations: 4.969 MB / 0.7041 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.341, allocations: 204.1 kB / 0.7043 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/0.3414, allocations: 16 kB / 0.7043 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.3426, allocations: 123.8 kB / 0.7044 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000723/0.3434, allocations: 220.5 kB / 0.7047 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.3435, allocations: 27.98 kB / 0.7047 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000838/0.3443, allocations: 0.5887 MB / 0.7053 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.433e-06/0.3443, allocations: 4 kB / 0.7053 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001375/0.3457, allocations: 439.6 kB / 0.7057 GB, free: 9.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.0161/0.3618, allocations: 5.55 MB / 0.7111 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007285/0.3692, allocations: 2.48 MB / 0.7135 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3692, allocations: 0 / 0.7135 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2488/0.618, allocations: 1.595 MB / 0.7151 GB, free: 87.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.6191, allocations: 88.52 kB / 0.7152 GB, free: 87.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04371/0.6628, allocations: 15.16 MB / 0.73 GB, free: 83.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006381/0.6635, allocations: 1.083 MB / 0.731 GB, free: 82.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004874/0.664, allocations: 87.08 kB / 0.7311 GB, free: 82.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005827/0.6646, allocations: 446.8 kB / 0.7315 GB, free: 82.36 MB / 0.5137 GB Notification: Performance of SimCode: time 8.82e-07/0.6646, allocations: 0 / 0.7315 GB, free: 82.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06271/0.7274, allocations: 33.28 MB / 0.764 GB, free: 56.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/17.3, allocations: 8.75 kB / 0.764 GB, free: 56.22 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_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_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)