Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.008561/0.008561, allocations: 172 kB / 15.11 MB, free: 5.969 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.389/1.389, allocations: 223.2 MB / 239 MB, free: 52 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009448/0.0009447, allocations: 95.25 kB / 290.2 MB, free: 4.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5609/0.5609, allocations: 79.43 MB / 420.7 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004788, allocations: 12 kB / 0.4891 GB, free: 6.242 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1563, allocations: 69.52 MB / 0.557 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4694/0.6258, allocations: 99.52 MB / 0.6542 GB, free: 1.625 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.6261, allocations: 75.97 kB / 0.6543 GB, free: 1.551 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0704/0.6965, allocations: 26.65 MB / 0.6803 GB, free: 6.949 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6965, allocations: 0 / 0.6803 GB, free: 6.949 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.64e-05/0.6966, allocations: 24 kB / 0.6803 GB, free: 6.926 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.005968/0.7026, allocations: 1.993 MB / 0.6823 GB, free: 4.879 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.7027, allocations: 8.031 kB / 0.6823 GB, free: 4.871 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003696/0.703, allocations: 134.8 kB / 0.6824 GB, free: 4.73 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.7068, allocations: 0.562 MB / 0.683 GB, free: 4.168 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.709, allocations: 0.7441 MB / 0.6837 GB, free: 3.371 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003923/0.7094, allocations: 268.1 kB / 0.6839 GB, free: 3.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/0.7098, allocations: 76 kB / 0.684 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.7126, allocations: 1.163 MB / 0.6851 GB, free: 1.824 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.7127, allocations: 0 / 0.6851 GB, free: 1.824 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.7128, allocations: 32 kB / 0.6852 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.7128, allocations: 16 kB / 0.6852 GB, free: 1.777 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00274/0.7156, allocations: 1.242 MB / 0.6864 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008031/0.7236, allocations: 3.597 MB / 0.6899 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.7259, allocations: 1.508 MB / 0.6914 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.726, allocations: 16.98 kB / 0.6914 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.7261, allocations: 43.56 kB / 0.6915 GB, free: 11.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=98): time 3.917e-06/0.7261, allocations: 0 / 0.6915 GB, free: 11.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=98): time 0.0288/0.7549, allocations: 8.461 MB / 0.6997 GB, free: 2.602 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.318e-05/0.755, allocations: 64.41 kB / 0.6998 GB, free: 2.527 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.7569, allocations: 0.7425 MB / 0.7005 GB, free: 1.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002499/0.7572, allocations: 37.7 kB / 0.7005 GB, free: 1.727 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005128/0.7577, allocations: 0.5048 MB / 0.701 GB, free: 1.215 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006129/0.7583, allocations: 340.7 kB / 0.7014 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.759e-05/0.7584, allocations: 16 kB / 0.7014 GB, free: 0.8633 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.7586, allocations: 337.9 kB / 0.7017 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.7604, allocations: 0.7204 MB / 0.7024 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.7622, allocations: 0.8272 MB / 0.7032 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.764, allocations: 0.7578 MB / 0.7039 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.764, allocations: 0 / 0.7039 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.01457/0.7786, allocations: 4.953 MB / 0.7088 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.7786, allocations: 8 kB / 0.7088 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.7787, allocations: 0 / 0.7088 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006449/0.7851, allocations: 2.107 MB / 0.7108 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/0.786, allocations: 167.8 kB / 0.711 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.8085, allocations: 9.972 MB / 0.7207 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/0.8103, allocations: 211.1 kB / 0.7209 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002757/0.8106, allocations: 31.98 kB / 0.721 GB, free: 12.6 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (76): * Single equations (assignments): 75 * 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.001028/0.8116, allocations: 232.5 kB / 0.7212 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005303/0.8122, allocations: 118.5 kB / 0.7213 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/0.8266, allocations: 4.979 MB / 0.7262 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/0.8267, allocations: 12 kB / 0.7262 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.8267, allocations: 4 kB / 0.7262 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.007e-05/0.8267, allocations: 7.969 kB / 0.7262 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01698/0.8437, allocations: 6.566 MB / 0.7326 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.8438, allocations: 0 / 0.7326 GB, free: 0.5312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008806/0.8446, allocations: 147.8 kB / 0.7327 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006242/0.8509, allocations: 2.056 MB / 0.7348 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/0.8512, allocations: 17.19 kB / 0.7348 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/0.8706, allocations: 8.643 MB / 0.7432 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.8706, allocations: 2.906 kB / 0.7432 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/0.8868, allocations: 5.986 MB / 0.7491 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.8874, allocations: 207.4 kB / 0.7493 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000371/0.8878, allocations: 16 kB / 0.7493 GB, free: 15.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.8891, allocations: 155.9 kB / 0.7494 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/0.89, allocations: 224.5 kB / 0.7496 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.8901, allocations: 23.98 kB / 0.7497 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009424/0.8911, allocations: 0.5852 MB / 0.7502 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8911, allocations: 3.938 kB / 0.7502 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001649/0.8927, allocations: 431.5 kB / 0.7506 GB, free: 13.86 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.01648/0.9092, allocations: 6.578 MB / 0.7571 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007228/0.9165, allocations: 2.598 MB / 0.7596 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.9165, allocations: 4.188 kB / 0.7596 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/0.9217, allocations: 1.805 MB / 0.7614 GB, free: 2.828 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/0.9227, allocations: 82.28 kB / 0.7615 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02786/0.9506, allocations: 12.76 MB / 0.7739 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008797/0.9515, allocations: 1.118 MB / 0.775 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005426/0.9521, allocations: 73.56 kB / 0.7751 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.9528, allocations: 425.5 kB / 0.7755 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of SimCode: time 1.243e-06/0.9528, allocations: 3.938 kB / 0.7755 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3197/1.273, allocations: 29.15 MB / 0.8039 GB, free: 156.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/1.273, allocations: 205.4 kB / 0.8041 GB, free: 156.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/4.116, allocations: 3.844 kB / 0.8041 GB, free: 156.6 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)