Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.008835/0.008835, allocations: 169.5 kB / 15.11 MB, free: 5.973 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.401/1.401, allocations: 223.2 MB / 239 MB, free: 1.805 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009548/0.0009549, allocations: 110.4 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.506/0.506, allocations: 78.52 MB / 419.8 MB, free: 44.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 8 kB / 499.8 MB, free: 2.672 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4405, allocations: 69.35 MB / 0.5558 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.5726, allocations: 98.54 MB / 0.652 GB, free: 7.848 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5729, allocations: 79.95 kB / 0.6521 GB, free: 7.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06989/0.6428, allocations: 25.83 MB / 0.6773 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.6429, allocations: 0 / 0.6773 GB, free: 13.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.921e-05/0.643, allocations: 20 kB / 0.6774 GB, free: 13.78 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.005244/0.6482, allocations: 1.994 MB / 0.6793 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6483, allocations: 12.03 kB / 0.6793 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002233/0.6485, allocations: 126.8 kB / 0.6794 GB, free: 11.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/0.6521, allocations: 0.5642 MB / 0.68 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.6541, allocations: 0.7363 MB / 0.6807 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/0.6546, allocations: 264.2 kB / 0.681 GB, free: 9.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.6548, allocations: 76 kB / 0.681 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003292/0.6581, allocations: 1.159 MB / 0.6822 GB, free: 8.691 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.6581, allocations: 0 / 0.6822 GB, free: 8.691 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.6582, allocations: 32 kB / 0.6822 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.6583, allocations: 16 kB / 0.6822 GB, free: 8.645 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003607/0.6619, allocations: 1.238 MB / 0.6834 GB, free: 7.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008899/0.6708, allocations: 3.569 MB / 0.6869 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.6739, allocations: 1.504 MB / 0.6884 GB, free: 2.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.6741, allocations: 24.92 kB / 0.6884 GB, free: 2.047 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.6741, allocations: 43.56 kB / 0.6884 GB, free: 1.996 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 4.499e-06/0.6742, allocations: 0 / 0.6884 GB, free: 1.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.03813/0.7123, allocations: 8.462 MB / 0.6967 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.7124, allocations: 64.34 kB / 0.6968 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.7145, allocations: 0.7465 MB / 0.6975 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003293/0.7148, allocations: 45.7 kB / 0.6975 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/0.7155, allocations: 0.5088 MB / 0.698 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000719/0.7162, allocations: 335 kB / 0.6983 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.7164, allocations: 23.94 kB / 0.6984 GB, free: 7.734 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002267/0.7166, allocations: 345.9 kB / 0.6987 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.7189, allocations: 0.7086 MB / 0.6994 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/0.7213, allocations: 0.8273 MB / 0.7002 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002375/0.7237, allocations: 0.7536 MB / 0.7009 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.7237, allocations: 0 / 0.7009 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01945/0.7432, allocations: 4.91 MB / 0.7057 GB, free: 148 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.7433, allocations: 11.98 kB / 0.7057 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.7434, allocations: 0 / 0.7057 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009021/0.7524, allocations: 2.107 MB / 0.7078 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.7537, allocations: 171.8 kB / 0.708 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03127/0.785, allocations: 9.989 MB / 0.7177 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.787, allocations: 199.2 kB / 0.7179 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/0.7873, allocations: 35.98 kB / 0.7179 GB, free: 3.508 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.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 (75): * Single equations (assignments): 74 * 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.001008/0.7883, allocations: 245.5 kB / 0.7182 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000508/0.7889, allocations: 118.5 kB / 0.7183 GB, free: 3.141 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01946/0.8083, allocations: 4.956 MB / 0.7231 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.8084, allocations: 15.94 kB / 0.7231 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.8084, allocations: 3.984 kB / 0.7232 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/0.8085, allocations: 3.984 kB / 0.7232 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02338/0.8319, allocations: 6.586 MB / 0.7296 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.458e-05/0.8319, allocations: 4 kB / 0.7296 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.8331, allocations: 151.8 kB / 0.7297 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008582/0.8417, allocations: 2.055 MB / 0.7317 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002734/0.842, allocations: 16 kB / 0.7318 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02693/0.869, allocations: 8.643 MB / 0.7402 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.869, allocations: 3.984 kB / 0.7402 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02266/0.8917, allocations: 6.017 MB / 0.7461 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006593/0.8924, allocations: 211.3 kB / 0.7463 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005292/0.893, allocations: 16 kB / 0.7463 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001782/0.8948, allocations: 159.9 kB / 0.7464 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/0.8959, allocations: 212.6 kB / 0.7466 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001984/0.8961, allocations: 27.98 kB / 0.7467 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001477/0.8976, allocations: 0.5891 MB / 0.7472 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8976, allocations: 0 / 0.7472 GB, free: 5.137 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002337/0.9, allocations: 431.5 kB / 0.7477 GB, free: 4.715 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 (64): * Single equations (assignments): 63 * 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.02243/0.9224, allocations: 6.604 MB / 0.7541 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009153/0.9316, allocations: 2.601 MB / 0.7567 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.9317, allocations: 4.062 kB / 0.7567 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006599/0.9383, allocations: 1.799 MB / 0.7584 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.9394, allocations: 76.36 kB / 0.7585 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.369/1.308, allocations: 12.64 MB / 0.7708 GB, free: 148.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009601/1.309, allocations: 1.12 MB / 0.7719 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005308/1.31, allocations: 70.11 kB / 0.772 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/1.311, allocations: 436.5 kB / 0.7724 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of SimCode: time 2.034e-06/1.311, allocations: 0 / 0.7724 GB, free: 147.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07106/1.382, allocations: 29.22 MB / 0.8009 GB, free: 146.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/1.382, allocations: 208.1 kB / 0.8011 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.008/4.39, allocations: 0 / 0.8011 GB, free: 146.1 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)