Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.0009866/0.0009866, allocations: 174.9 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.167/1.167, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0009083/0.0009083, allocations: 97.66 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4275/0.4275, allocations: 78.9 MB / 415.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.289e-05, allocations: 4 kB / 492.9 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2998, allocations: 69.51 MB / 0.5492 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4114, allocations: 99.05 MB / 0.6459 GB, free: 0.5312 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.4116, allocations: 75.97 kB / 0.646 GB, free: 468 kB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06514/0.4768, allocations: 26.03 MB / 0.6714 GB, free: 6.238 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4768, allocations: 0 / 0.6714 GB, free: 6.238 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.081e-05/0.4769, allocations: 23.94 kB / 0.6715 GB, free: 6.215 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.004689/0.4816, allocations: 1.778 MB / 0.6732 GB, free: 4.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4816, allocations: 11.97 kB / 0.6732 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.4818, allocations: 126.8 kB / 0.6733 GB, free: 4.242 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00315/0.485, allocations: 0.5642 MB / 0.6739 GB, free: 3.676 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.4863, allocations: 0.7324 MB / 0.6746 GB, free: 2.891 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/0.4866, allocations: 264.2 kB / 0.6748 GB, free: 2.594 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.4868, allocations: 76 kB / 0.6749 GB, free: 2.52 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.4883, allocations: 0.8704 MB / 0.6758 GB, free: 1.641 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.4883, allocations: 3.938 kB / 0.6758 GB, free: 1.637 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.815e-05/0.4884, allocations: 35.94 kB / 0.6758 GB, free: 1.602 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.4885, allocations: 23.98 kB / 0.6758 GB, free: 1.578 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.4899, allocations: 0.8553 MB / 0.6767 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2726/0.7625, allocations: 3.556 MB / 0.6801 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.7639, allocations: 1.227 MB / 0.6813 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000915/0.7648, allocations: 0.589 MB / 0.6819 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.765, allocations: 19.41 kB / 0.6819 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.765, allocations: 45.36 kB / 0.682 GB, free: 103.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.236e-06/0.765, allocations: 0.9688 kB / 0.682 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.0125/0.7775, allocations: 4.067 MB / 0.6859 GB, free: 103 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.7776, allocations: 62.56 kB / 0.686 GB, free: 102.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007849/0.7783, allocations: 0.7492 MB / 0.6867 GB, free: 102.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.7785, allocations: 43.83 kB / 0.6868 GB, free: 102.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.7787, allocations: 0.5038 MB / 0.6873 GB, free: 102.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/0.7789, allocations: 345.1 kB / 0.6876 GB, free: 102.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.779, allocations: 16.22 kB / 0.6876 GB, free: 102.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.7791, allocations: 342.9 kB / 0.6879 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006523/0.7797, allocations: 436.6 kB / 0.6883 GB, free: 102.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006719/0.7804, allocations: 0.5422 MB / 0.6889 GB, free: 102 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006828/0.7811, allocations: 486.2 kB / 0.6893 GB, free: 102 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7811, allocations: 0 / 0.6893 GB, free: 102 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01103/0.7921, allocations: 4.158 MB / 0.6934 GB, free: 101.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.7922, allocations: 11.44 kB / 0.6934 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.7922, allocations: 0 / 0.6934 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00507/0.7973, allocations: 1.727 MB / 0.6951 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.7981, allocations: 181.3 kB / 0.6953 GB, free: 101.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/0.8107, allocations: 7.275 MB / 0.7024 GB, free: 97.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.8121, allocations: 209.3 kB / 0.7026 GB, free: 97.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.549e-05/0.8122, allocations: 28.66 kB / 0.7026 GB, free: 97.2 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.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 (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.0002137/0.8124, allocations: 155.3 kB / 0.7028 GB, free: 97.06 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.8126, allocations: 122.9 kB / 0.7029 GB, free: 97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.8237, allocations: 4.212 MB / 0.707 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.8238, allocations: 8 kB / 0.707 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.8238, allocations: 3.797 kB / 0.707 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.8238, allocations: 3.844 kB / 0.707 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.8364, allocations: 5.831 MB / 0.7127 GB, free: 90.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.8365, allocations: 3.938 kB / 0.7127 GB, free: 90.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/0.8371, allocations: 144.6 kB / 0.7128 GB, free: 90.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004622/0.8418, allocations: 1.683 MB / 0.7145 GB, free: 89.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.8419, allocations: 19.38 kB / 0.7145 GB, free: 89.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/0.8527, allocations: 6.323 MB / 0.7207 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8528, allocations: 0 / 0.7207 GB, free: 83.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01177/0.8646, allocations: 4.982 MB / 0.7255 GB, free: 79.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.8649, allocations: 207.2 kB / 0.7257 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001306/0.865, allocations: 20 kB / 0.7258 GB, free: 79.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009956/0.866, allocations: 157.1 kB / 0.7259 GB, free: 78.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005689/0.8666, allocations: 220.8 kB / 0.7261 GB, free: 78.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.906e-05/0.8667, allocations: 27.88 kB / 0.7261 GB, free: 78.83 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006277/0.8673, allocations: 0.5836 MB / 0.7267 GB, free: 78.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8673, allocations: 0 / 0.7267 GB, free: 78.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009978/0.8683, allocations: 430.8 kB / 0.7271 GB, free: 77.86 MB / 490.7 MB 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 () * 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.01197/0.8803, allocations: 5.573 MB / 0.7326 GB, free: 72.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004599/0.8849, allocations: 2.014 MB / 0.7345 GB, free: 70.32 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8849, allocations: 0 / 0.7345 GB, free: 70.32 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003794/0.8887, allocations: 1.497 MB / 0.736 GB, free: 68.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006082/0.8894, allocations: 76.36 kB / 0.7361 GB, free: 68.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.8924, allocations: 1.651 MB / 0.7377 GB, free: 67.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.8928, allocations: 1.118 MB / 0.7388 GB, free: 65.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.8931, allocations: 68.86 kB / 0.7388 GB, free: 65.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004319/0.8936, allocations: 431.3 kB / 0.7392 GB, free: 65.44 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.8936, allocations: 0 / 0.7392 GB, free: 65.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04307/0.9367, allocations: 29.17 MB / 0.7677 GB, free: 36.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/0.9369, allocations: 186.9 kB / 0.7679 GB, free: 36.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.554, allocations: 0 / 0.7679 GB, free: 36.52 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)