Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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.Order4test2_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",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.001506/0.001506, 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.198/1.198, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009209/0.000921, allocations: 88.41 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4379/0.4379, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.937e-05, allocations: 4 kB / 492.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.316, allocations: 69.52 MB / 0.5492 GB, free: 19.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1258/0.4419, allocations: 100.3 MB / 0.6472 GB, free: 15.29 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.4422, allocations: 75.95 kB / 0.6472 GB, free: 15.21 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.069/0.5112, allocations: 26.44 MB / 0.6731 GB, free: 4.594 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5112, allocations: 3.938 kB / 0.6731 GB, free: 4.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.533e-05/0.5113, allocations: 20 kB / 0.6731 GB, free: 4.57 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004426/0.5157, allocations: 1.707 MB / 0.6747 GB, free: 2.816 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5158, allocations: 15.91 kB / 0.6748 GB, free: 2.801 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.516, allocations: 126.6 kB / 0.6749 GB, free: 2.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.519, allocations: 0.5526 MB / 0.6754 GB, free: 2.113 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.5206, allocations: 0.7632 MB / 0.6762 GB, free: 1.293 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000283/0.5209, allocations: 268.1 kB / 0.6764 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.521, allocations: 76.25 kB / 0.6765 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2835/0.8045, allocations: 0.9463 MB / 0.6774 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-05/0.8046, allocations: 0 / 0.6774 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003088/0.8049, allocations: 27.72 kB / 0.6774 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.371e-05/0.805, allocations: 17.91 kB / 0.6775 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.8069, allocations: 0.8585 MB / 0.6783 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006832/0.8138, allocations: 3.535 MB / 0.6818 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.8152, allocations: 1.232 MB / 0.683 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008717/0.8161, allocations: 0.5712 MB / 0.6835 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.8162, allocations: 13.52 kB / 0.6835 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.8163, allocations: 48.95 kB / 0.6836 GB, free: 102.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=90): time 2.896e-06/0.8163, allocations: 0 / 0.6836 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=90): time 0.01253/0.8288, allocations: 4.042 MB / 0.6875 GB, free: 102.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.8289, allocations: 89.48 kB / 0.6876 GB, free: 102.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.83, allocations: 0.7658 MB / 0.6884 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002357/0.8302, allocations: 43.17 kB / 0.6884 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.8305, allocations: 495.6 kB / 0.6889 GB, free: 102.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.8308, allocations: 322.1 kB / 0.6892 GB, free: 102 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.8308, allocations: 17.06 kB / 0.6892 GB, free: 102 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.8309, allocations: 337.7 kB / 0.6895 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006855/0.8316, allocations: 439.5 kB / 0.6899 GB, free: 101.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006995/0.8323, allocations: 0.5374 MB / 0.6905 GB, free: 101.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.833, allocations: 482.1 kB / 0.6909 GB, free: 101.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.833, allocations: 3.719 kB / 0.6909 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01127/0.8443, allocations: 4.186 MB / 0.695 GB, free: 100.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.8446, allocations: 0.8036 MB / 0.6958 GB, free: 99.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.8446, allocations: 2.25 kB / 0.6958 GB, free: 99.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005119/0.8497, allocations: 1.709 MB / 0.6975 GB, free: 99.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.8504, allocations: 145.8 kB / 0.6976 GB, free: 99.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/0.863, allocations: 7.249 MB / 0.7047 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.8644, allocations: 197.3 kB / 0.7049 GB, free: 95.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.8646, allocations: 27.31 kB / 0.7049 GB, free: 95.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.8646, allocations: 3.812 kB / 0.7049 GB, free: 95.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01071/0.8753, allocations: 4.068 MB / 0.7089 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.8753, allocations: 4 kB / 0.7089 GB, free: 93.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00488/0.8802, allocations: 1.718 MB / 0.7106 GB, free: 92.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006494/0.8809, allocations: 129.8 kB / 0.7107 GB, free: 91.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/0.8933, allocations: 7.25 MB / 0.7178 GB, free: 85.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.8947, allocations: 197.5 kB / 0.7179 GB, free: 85.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.763e-05/0.8948, allocations: 24 kB / 0.718 GB, free: 85.22 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.8951, allocations: 157.5 kB / 0.7181 GB, free: 85.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002084/0.8953, allocations: 118.5 kB / 0.7182 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.9064, allocations: 4.169 MB / 0.7223 GB, free: 81.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.9064, allocations: 11.83 kB / 0.7223 GB, free: 81.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.9064, allocations: 0 / 0.7223 GB, free: 81.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-05/0.9065, allocations: 10.98 kB / 0.7223 GB, free: 81.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.9194, allocations: 5.786 MB / 0.728 GB, free: 77.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.9195, allocations: 0 / 0.728 GB, free: 77.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/0.9202, allocations: 114.5 kB / 0.7281 GB, free: 76.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00473/0.9249, allocations: 1.678 MB / 0.7297 GB, free: 75.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.9251, allocations: 16 kB / 0.7297 GB, free: 75.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.9358, allocations: 6.32 MB / 0.7359 GB, free: 68.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.9359, allocations: 4 kB / 0.7359 GB, free: 68.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.9482, allocations: 4.909 MB / 0.7407 GB, free: 63.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.9486, allocations: 215.4 kB / 0.7409 GB, free: 63.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.9487, allocations: 16 kB / 0.7409 GB, free: 63.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.9498, allocations: 147.9 kB / 0.7411 GB, free: 63.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005452/0.9504, allocations: 204.4 kB / 0.7413 GB, free: 63.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.608e-05/0.9505, allocations: 20 kB / 0.7413 GB, free: 63.32 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006356/0.9511, allocations: 0.593 MB / 0.7419 GB, free: 62.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.9511, allocations: 3.938 kB / 0.7419 GB, free: 62.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001489/0.9526, allocations: 0.6688 MB / 0.7425 GB, free: 62.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * 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.01255/0.9652, allocations: 5.511 MB / 0.7479 GB, free: 56.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008716/0.9739, allocations: 3.528 MB / 0.7513 GB, free: 52.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.974, allocations: 0 / 0.7513 GB, free: 52.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003769/0.9778, allocations: 1.478 MB / 0.7528 GB, free: 51.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.9785, allocations: 91.14 kB / 0.7529 GB, free: 51.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.9819, allocations: 1.812 MB / 0.7546 GB, free: 49.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.9824, allocations: 1.13 MB / 0.7558 GB, free: 48.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005893/0.983, allocations: 167.5 kB / 0.7559 GB, free: 48.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/0.9834, allocations: 419.2 kB / 0.7563 GB, free: 47.84 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.9834, allocations: 0 / 0.7563 GB, free: 47.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05361/1.037, allocations: 37.8 MB / 0.7932 GB, free: 10.47 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/1.037, allocations: 173.4 kB / 0.7934 GB, free: 10.24 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/3.958, allocations: 0 / 0.7934 GB, free: 10.24 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)