Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 221.4 MB / 234.6 MB, free: 14.43 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000899/0.000899, allocations: 90.56 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4175/0.4175, allocations: 78.91 MB / 415.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.425e-05/4.436e-05, allocations: 8 kB / 492.9 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3121, allocations: 69.5 MB / 0.5492 GB, free: 19.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1158/0.4279, allocations: 97.57 MB / 0.6445 GB, free: 2.02 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4282, allocations: 75.95 kB / 0.6446 GB, free: 1.945 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06229/0.4905, allocations: 23.55 MB / 0.6676 GB, free: 10.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4905, allocations: 0 / 0.6676 GB, free: 10.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.558e-05/0.4906, allocations: 19.94 kB / 0.6676 GB, free: 10.21 MB / 490.7 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.004343/0.4949, allocations: 1.599 MB / 0.6691 GB, free: 8.562 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.495, allocations: 15.97 kB / 0.6691 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/0.4951, allocations: 118.5 kB / 0.6693 GB, free: 8.422 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.4982, allocations: 0.5332 MB / 0.6698 GB, free: 7.887 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.4994, allocations: 0.668 MB / 0.6704 GB, free: 7.176 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.4997, allocations: 268.1 kB / 0.6707 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.4998, allocations: 67.95 kB / 0.6708 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.5013, allocations: 0.7844 MB / 0.6715 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5013, allocations: 0 / 0.6715 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/0.5014, allocations: 28 kB / 0.6715 GB, free: 5.992 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.476e-05/0.5014, allocations: 16 kB / 0.6716 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001367/0.5028, allocations: 0.7772 MB / 0.6723 GB, free: 5.199 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005385/0.5082, allocations: 3.225 MB / 0.6755 GB, free: 1.824 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.5096, allocations: 1.133 MB / 0.6766 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000786/0.5104, allocations: 0.5349 MB / 0.6771 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/0.5105, allocations: 24.77 kB / 0.6771 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2573/0.7678, allocations: 37.56 kB / 0.6772 GB, free: 107 MB / 490.7 MB Notification: Performance of pre-optimization done (n=82): time 4.509e-06/0.7678, allocations: 0 / 0.6772 GB, free: 107 MB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.0137/0.7815, allocations: 3.97 MB / 0.681 GB, free: 106.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.7816, allocations: 60.98 kB / 0.6811 GB, free: 106.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.7829, allocations: 0.6633 MB / 0.6817 GB, free: 106.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.7831, allocations: 40.3 kB / 0.6818 GB, free: 106.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.7834, allocations: 442.6 kB / 0.6822 GB, free: 106.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000336/0.7838, allocations: 292.4 kB / 0.6825 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.7838, allocations: 12.59 kB / 0.6825 GB, free: 106.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.7839, allocations: 337.1 kB / 0.6828 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008057/0.7847, allocations: 403.8 kB / 0.6832 GB, free: 106.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/0.7856, allocations: 0.5007 MB / 0.6837 GB, free: 106 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008766/0.7865, allocations: 442.8 kB / 0.6841 GB, free: 106 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.7865, allocations: 0.6562 kB / 0.6841 GB, free: 106 MB / 490.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0115/0.798, allocations: 4.052 MB / 0.6881 GB, free: 105.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.7981, allocations: 9.672 kB / 0.6881 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7981, allocations: 0 / 0.6881 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005186/0.8033, allocations: 1.731 MB / 0.6898 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.8039, allocations: 131.1 kB / 0.6899 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.8168, allocations: 7.279 MB / 0.697 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.818, allocations: 170.9 kB / 0.6972 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.952e-05/0.8181, allocations: 28.88 kB / 0.6972 GB, free: 102.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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.0002072/0.8183, allocations: 147.1 kB / 0.6973 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.8184, allocations: 101.1 kB / 0.6974 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.8294, allocations: 4.084 MB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.8295, allocations: 6.188 kB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.8295, allocations: 4 kB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.8295, allocations: 6.75 kB / 0.7014 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/0.8416, allocations: 5.58 MB / 0.7069 GB, free: 97.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.874e-06/0.8417, allocations: 0 / 0.7069 GB, free: 97.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.8421, allocations: 98.28 kB / 0.707 GB, free: 97.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004647/0.8468, allocations: 1.681 MB / 0.7086 GB, free: 95.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.176e-05/0.8469, allocations: 19.7 kB / 0.7086 GB, free: 95.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.8576, allocations: 6.325 MB / 0.7148 GB, free: 89.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8576, allocations: 0 / 0.7148 GB, free: 89.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/0.8691, allocations: 4.782 MB / 0.7195 GB, free: 86.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.8694, allocations: 191.5 kB / 0.7197 GB, free: 85.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.8696, allocations: 16 kB / 0.7197 GB, free: 85.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008894/0.8705, allocations: 132.9 kB / 0.7198 GB, free: 85.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005158/0.871, allocations: 201.2 kB / 0.72 GB, free: 85.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.959e-05/0.871, allocations: 20 kB / 0.72 GB, free: 85.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005512/0.8716, allocations: 0.5234 MB / 0.7205 GB, free: 85.09 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8716, allocations: 4 kB / 0.7205 GB, free: 85.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009241/0.8725, allocations: 389.1 kB / 0.7209 GB, free: 84.71 MB / 490.7 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 () * 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.01176/0.8843, allocations: 5.364 MB / 0.7261 GB, free: 79.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004487/0.8888, allocations: 1.915 MB / 0.728 GB, free: 77.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.8889, allocations: 3.172 kB / 0.728 GB, free: 77.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003608/0.8925, allocations: 1.444 MB / 0.7294 GB, free: 76.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.8931, allocations: 59.34 kB / 0.7295 GB, free: 76.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.8957, allocations: 1.406 MB / 0.7309 GB, free: 74.72 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.8962, allocations: 1.048 MB / 0.7319 GB, free: 73.64 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.8964, allocations: 64.7 kB / 0.7319 GB, free: 73.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.8968, allocations: 359.3 kB / 0.7323 GB, free: 73.23 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.8968, allocations: 4 kB / 0.7323 GB, free: 73.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03843/0.9352, allocations: 26.88 MB / 0.7585 GB, free: 46.78 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001341/0.9354, allocations: 171.4 kB / 0.7587 GB, free: 46.55 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.497, allocations: 4 kB / 0.7587 GB, free: 46.55 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)