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/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/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/package.mo): time 0.1136/0.1136, allocations: 12.2 MB / 27.15 MB, free: 1.156 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.0008854/0.0008853, allocations: 102.2 kB / 30.67 MB, free: 4.859 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.309/1.309, allocations: 205.4 MB / 239.5 MB, free: 10.69 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.001189/0.001189, allocations: 181.1 kB / 290.6 MB, free: 8.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4084/0.4084, allocations: 78.5 MB / 420.1 MB, free: 6.602 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.001428/0.001428, allocations: 35.77 kB / 0.4895 GB, free: 38.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1651, allocations: 69.25 MB / 0.5571 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.006724/0.1718, allocations: 5.07 MB / 0.5621 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003982/0.1759, allocations: 1.671 MB / 0.5637 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007054/0.1766, allocations: 15.94 kB / 0.5637 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005007/0.1771, allocations: 146.9 kB / 0.5639 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.1792, allocations: 0.623 MB / 0.5645 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.1808, allocations: 486.5 kB / 0.5649 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.1823, allocations: 0.8107 MB / 0.5657 GB, free: 68 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004775/0.1827, allocations: 211.3 kB / 0.5659 GB, free: 15.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007256/0.1835, allocations: 458.2 kB / 0.5664 GB, free: 15.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008376/0.1843, allocations: 0.5523 MB / 0.5669 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.1845, allocations: 48 kB / 0.5669 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.185, allocations: 163.8 kB / 0.5671 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.1852, allocations: 199.1 kB / 0.5673 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002045/0.1854, allocations: 201.1 kB / 0.5675 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.1864, allocations: 0.9508 MB / 0.5684 GB, free: 13.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1864, allocations: 0 / 0.5684 GB, free: 13.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1864, allocations: 0 / 0.5684 GB, free: 13.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.466e-05/0.1865, allocations: 0 / 0.5684 GB, free: 13.29 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.007503/0.194, allocations: 2.205 MB / 0.5706 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1941, allocations: 11.98 kB / 0.5706 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002031/0.1943, allocations: 114.5 kB / 0.5707 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/0.1992, allocations: 0.7634 MB / 0.5714 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.2004, allocations: 0.6745 MB / 0.5721 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002975/0.2007, allocations: 268.2 kB / 0.5723 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.2009, allocations: 67.91 kB / 0.5724 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.2029, allocations: 1.026 MB / 0.5734 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.2029, allocations: 4 kB / 0.5734 GB, free: 8.016 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.203, allocations: 24 kB / 0.5734 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.203, allocations: 16 kB / 0.5734 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.2052, allocations: 1.058 MB / 0.5745 GB, free: 6.918 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.005628/0.2109, allocations: 3.329 MB / 0.5777 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.2131, allocations: 1.382 MB / 0.5791 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.093e-05/0.2132, allocations: 16.64 kB / 0.5791 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.2133, allocations: 35.22 kB / 0.5791 GB, free: 1.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.445e-06/0.2133, allocations: 0 / 0.5791 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=82): time 0.02919/0.2425, allocations: 8.377 MB / 0.5873 GB, free: 9.438 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.2425, allocations: 60.06 kB / 0.5874 GB, free: 9.367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009945/0.2435, allocations: 0.787 MB / 0.5881 GB, free: 8.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.2437, allocations: 41.7 kB / 0.5882 GB, free: 8.508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.244, allocations: 424.5 kB / 0.5886 GB, free: 8.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.2443, allocations: 299.7 kB / 0.5889 GB, free: 7.789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.2444, allocations: 20 kB / 0.5889 GB, free: 7.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2446, allocations: 345.9 kB / 0.5892 GB, free: 7.426 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.2461, allocations: 0.7326 MB / 0.5899 GB, free: 6.691 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.2477, allocations: 0.8265 MB / 0.5907 GB, free: 5.832 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.2493, allocations: 0.7771 MB / 0.5915 GB, free: 5.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.2493, allocations: 4 kB / 0.5915 GB, free: 5.051 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0147/0.264, allocations: 4.969 MB / 0.5964 GB, free: 68 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.2641, allocations: 8 kB / 0.5964 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.2641, allocations: 0 / 0.5964 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007069/0.2712, allocations: 2.104 MB / 0.5984 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.2723, allocations: 187.8 kB / 0.5986 GB, free: 13.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/0.295, allocations: 9.992 MB / 0.6084 GB, free: 3.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.2965, allocations: 191.1 kB / 0.6085 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/0.2966, allocations: 35.98 kB / 0.6086 GB, free: 3.422 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.e1q:VARIABLE(start = order31.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004481/0.2971, allocations: 217.7 kB / 0.6088 GB, free: 3.199 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.2973, allocations: 106.7 kB / 0.6089 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/0.3111, allocations: 4.731 MB / 0.6135 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.819e-05/0.3112, allocations: 8 kB / 0.6135 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.3112, allocations: 0 / 0.6135 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/0.3112, allocations: 7.969 kB / 0.6135 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01609/0.3273, allocations: 6.266 MB / 0.6196 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.3274, allocations: 0 / 0.6196 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006123/0.328, allocations: 95.89 kB / 0.6197 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00642/0.3344, allocations: 2.051 MB / 0.6217 GB, free: 5.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.3346, allocations: 19.98 kB / 0.6217 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/0.3545, allocations: 8.651 MB / 0.6302 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.3546, allocations: 3.953 kB / 0.6302 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/0.3707, allocations: 5.681 MB / 0.6357 GB, free: 7.242 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.3711, allocations: 191.6 kB / 0.6359 GB, free: 7.035 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/0.3714, allocations: 16 kB / 0.6359 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.3726, allocations: 131.9 kB / 0.6361 GB, free: 6.891 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006537/0.3732, allocations: 200.6 kB / 0.6363 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.3734, allocations: 20 kB / 0.6363 GB, free: 6.676 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008263/0.3742, allocations: 0.5304 MB / 0.6368 GB, free: 6.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3742, allocations: 4 kB / 0.6368 GB, free: 6.129 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001503/0.3757, allocations: 403.6 kB / 0.6372 GB, free: 5.734 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01653/0.3923, allocations: 6.272 MB / 0.6433 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00706/0.3994, allocations: 2.57 MB / 0.6458 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3994, allocations: 0 / 0.6458 GB, free: 12.84 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004917/0.4043, allocations: 1.689 MB / 0.6475 GB, free: 11.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.4051, allocations: 63.34 kB / 0.6475 GB, free: 11.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.41, allocations: 3.878 MB / 0.6513 GB, free: 7.109 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006107/0.4107, allocations: 1.052 MB / 0.6523 GB, free: 6.031 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003067/0.411, allocations: 78.19 kB / 0.6524 GB, free: 5.953 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/0.4115, allocations: 363.3 kB / 0.6528 GB, free: 5.598 MB / 478.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4115, allocations: 0 / 0.6528 GB, free: 5.598 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2771/0.6885, allocations: 27.07 MB / 0.6792 GB, free: 89.79 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001359/0.6887, allocations: 213.7 kB / 0.6794 GB, free: 89.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.143, allocations: 0 / 0.6794 GB, free: 89.55 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) Environment - environmentSimulation: