Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.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,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.08882/0.08882, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.323/1.323, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001415/0.001415, allocations: 196.4 kB / 290.6 MB, free: 13.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4142/0.4142, allocations: 78.51 MB / 419.2 MB, free: 11.32 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.002941/0.002942, allocations: 139.8 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2898, allocations: 68.11 MB / 0.5547 GB, free: 32.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005993/0.2958, allocations: 5.787 MB / 0.5603 GB, free: 28.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.2997, allocations: 1.705 MB / 0.562 GB, free: 26.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007149/0.3004, allocations: 13.06 kB / 0.562 GB, free: 26.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.301, allocations: 212.5 kB / 0.5622 GB, free: 26.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.3029, allocations: 0.6806 MB / 0.5629 GB, free: 26.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3043, allocations: 0.5595 MB / 0.5634 GB, free: 25.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001919/0.3062, allocations: 1.252 MB / 0.5646 GB, free: 24.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000519/0.3067, allocations: 275.2 kB / 0.5649 GB, free: 24.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009539/0.3077, allocations: 0.5185 MB / 0.5654 GB, free: 24.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.3085, allocations: 0.6389 MB / 0.566 GB, free: 24.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.3087, allocations: 87.34 kB / 0.5661 GB, free: 24.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006389/0.3093, allocations: 228.9 kB / 0.5663 GB, free: 24.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.3095, allocations: 244.5 kB / 0.5666 GB, free: 23.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.31, allocations: 0.548 MB / 0.5671 GB, free: 23.4 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.3115, allocations: 1.333 MB / 0.5684 GB, free: 22.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3115, allocations: 1.375 kB / 0.5684 GB, free: 22.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3115, allocations: 0 / 0.5684 GB, free: 22.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.3115, allocations: 4 kB / 0.5684 GB, free: 22.41 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007667/0.3192, allocations: 2.354 MB / 0.5707 GB, free: 20.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3193, allocations: 13.23 kB / 0.5707 GB, free: 20.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.3194, allocations: 117 kB / 0.5708 GB, free: 20.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/0.3242, allocations: 0.7603 MB / 0.5716 GB, free: 20.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.3253, allocations: 0.7061 MB / 0.5723 GB, free: 19.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.3256, allocations: 258.8 kB / 0.5725 GB, free: 19.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.3258, allocations: 64.5 kB / 0.5726 GB, free: 19.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.3277, allocations: 0.9616 MB / 0.5735 GB, free: 19.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.3277, allocations: 3.938 kB / 0.5735 GB, free: 19.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.3278, allocations: 25.84 kB / 0.5735 GB, free: 19.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.3279, allocations: 15.75 kB / 0.5736 GB, free: 19.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.3299, allocations: 0.9786 MB / 0.5745 GB, free: 18.64 MB / 398.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.004742/0.3346, allocations: 3.173 MB / 0.5776 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.3364, allocations: 1.301 MB / 0.5789 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.3376, allocations: 0.7074 MB / 0.5796 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.443e-05/0.3377, allocations: 8.656 kB / 0.5796 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3377, allocations: 43.22 kB / 0.5796 GB, free: 13.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 3.747e-06/0.3377, allocations: 0 / 0.5796 GB, free: 13.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=82): time 0.02517/0.3629, allocations: 6.767 MB / 0.5862 GB, free: 6.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.363, allocations: 64 kB / 0.5863 GB, free: 6.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/0.3639, allocations: 0.7986 MB / 0.5871 GB, free: 5.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001619/0.364, allocations: 41.7 kB / 0.5871 GB, free: 5.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.3643, allocations: 424.5 kB / 0.5875 GB, free: 5.227 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.3645, allocations: 291.8 kB / 0.5878 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.3648, allocations: 186.8 kB / 0.588 GB, free: 4.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.475e-05/0.3649, allocations: 345.9 kB / 0.5883 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.3662, allocations: 0.6545 MB / 0.5889 GB, free: 3.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.3675, allocations: 0.7756 MB / 0.5897 GB, free: 2.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/0.3845, allocations: 4.507 MB / 0.5941 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3846, allocations: 8 kB / 0.5941 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01325/0.3978, allocations: 4.113 MB / 0.5981 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3979, allocations: 8 kB / 0.5981 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.3979, allocations: 0 / 0.5981 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006384/0.4043, allocations: 1.799 MB / 0.5999 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008812/0.4052, allocations: 167.8 kB / 0.6 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02254/0.4278, allocations: 9.327 MB / 0.6092 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.4292, allocations: 155 kB / 0.6093 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.4294, allocations: 35.98 kB / 0.6093 GB, free: 14.62 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0005332/0.4299, allocations: 225.7 kB / 0.6096 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.4302, allocations: 102.7 kB / 0.6097 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.4432, allocations: 3.837 MB / 0.6134 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.4433, allocations: 11.94 kB / 0.6134 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4433, allocations: 3.984 kB / 0.6134 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.4433, allocations: 3.984 kB / 0.6134 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.4584, allocations: 5.344 MB / 0.6186 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.4585, allocations: 8 kB / 0.6186 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.4591, allocations: 87.89 kB / 0.6187 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006044/0.4651, allocations: 1.749 MB / 0.6204 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.4653, allocations: 19.98 kB / 0.6205 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01873/0.484, allocations: 8.08 MB / 0.6283 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.4841, allocations: 4 kB / 0.6284 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01531/0.4994, allocations: 4.712 MB / 0.633 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004971/0.4999, allocations: 183.7 kB / 0.6331 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003778/0.5003, allocations: 12 kB / 0.6331 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.5015, allocations: 95.89 kB / 0.6332 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006874/0.5022, allocations: 196.7 kB / 0.6334 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.216e-05/0.5023, allocations: 20 kB / 0.6334 GB, free: 5.582 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001065/0.5034, allocations: 0.5382 MB / 0.634 GB, free: 5.031 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5034, allocations: 0 / 0.634 GB, free: 5.031 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001675/0.5051, allocations: 411.6 kB / 0.6344 GB, free: 4.629 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.01594/0.5211, allocations: 5.276 MB / 0.6395 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007469/0.5286, allocations: 2.361 MB / 0.6418 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.5286, allocations: 0.5625 kB / 0.6418 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004969/0.5336, allocations: 1.507 MB / 0.6433 GB, free: 11.42 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.5347, allocations: 87.2 kB / 0.6434 GB, free: 11.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03876/0.5734, allocations: 14.6 MB / 0.6576 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.5743, allocations: 1.033 MB / 0.6586 GB, free: 11.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004331/0.5747, allocations: 78.19 kB / 0.6587 GB, free: 11.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005944/0.5753, allocations: 367.3 kB / 0.6591 GB, free: 10.91 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5753, allocations: 0 / 0.6591 GB, free: 10.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06566/0.641, allocations: 30.71 MB / 0.689 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.45, allocations: 18.67 kB / 0.6891 GB, free: 12.24 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)