Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.008366/0.008365, allocations: 171 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.41/1.41, 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.0009038/0.0009038, allocations: 96.92 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5047/0.5047, allocations: 79.43 MB / 420.7 MB, free: 36.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004062, allocations: 12 kB / 0.4891 GB, free: 6.262 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.147, allocations: 69.52 MB / 0.557 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3946/0.5417, allocations: 98.9 MB / 0.6536 GB, free: 2.273 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003575/0.5421, allocations: 75.97 kB / 0.6537 GB, free: 2.199 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07207/0.6142, allocations: 25.77 MB / 0.6788 GB, free: 8.492 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.6143, allocations: 0 / 0.6788 GB, free: 8.492 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.912e-05/0.6144, allocations: 24 kB / 0.6789 GB, free: 8.469 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.005345/0.6197, allocations: 1.977 MB / 0.6808 GB, free: 6.438 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.6198, allocations: 8.031 kB / 0.6808 GB, free: 6.43 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.62, allocations: 134.8 kB / 0.6809 GB, free: 6.289 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00338/0.6234, allocations: 0.5564 MB / 0.6815 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.6251, allocations: 0.7322 MB / 0.6822 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.6255, allocations: 264.2 kB / 0.6824 GB, free: 4.648 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.6256, allocations: 72.75 kB / 0.6825 GB, free: 4.578 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002439/0.6281, allocations: 1.155 MB / 0.6836 GB, free: 3.414 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.6281, allocations: 0 / 0.6836 GB, free: 3.414 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.6282, allocations: 32 kB / 0.6837 GB, free: 3.383 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.6282, allocations: 16 kB / 0.6837 GB, free: 3.367 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002584/0.6308, allocations: 1.238 MB / 0.6849 GB, free: 2.133 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006648/0.6375, allocations: 3.544 MB / 0.6883 GB, free: 14.44 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.6398, allocations: 1.481 MB / 0.6898 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.6399, allocations: 26.38 kB / 0.6898 GB, free: 12.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.6399, allocations: 47.5 kB / 0.6899 GB, free: 12.76 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.926e-06/0.6399, allocations: 0 / 0.6899 GB, free: 12.76 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.02873/0.6687, allocations: 8.258 MB / 0.6979 GB, free: 4.469 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.6688, allocations: 60.41 kB / 0.698 GB, free: 4.398 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.6702, allocations: 0.7496 MB / 0.6987 GB, free: 3.633 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001698/0.6704, allocations: 41.7 kB / 0.6988 GB, free: 3.586 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.6708, allocations: 0.4931 MB / 0.6992 GB, free: 3.086 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004205/0.6712, allocations: 331.1 kB / 0.6996 GB, free: 2.758 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.6713, allocations: 15.94 kB / 0.6996 GB, free: 2.742 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.6715, allocations: 341.9 kB / 0.6999 GB, free: 2.402 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.6731, allocations: 0.7086 MB / 0.7006 GB, free: 1.695 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.6748, allocations: 0.8156 MB / 0.7014 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.6765, allocations: 0.7535 MB / 0.7021 GB, free: 100 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.6765, allocations: 2.719 kB / 0.7021 GB, free: 100 kB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0148/0.6913, allocations: 4.945 MB / 0.7069 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.6914, allocations: 8 kB / 0.707 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.6914, allocations: 0 / 0.707 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00697/0.6984, allocations: 2.165 MB / 0.7091 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/0.6993, allocations: 163.8 kB / 0.7092 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02361/0.723, allocations: 9.792 MB / 0.7188 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.7246, allocations: 203.1 kB / 0.719 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.7249, allocations: 31.98 kB / 0.719 GB, free: 14.65 MB / 0.5105 GB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (73): * Single equations (assignments): 72 * 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 prepare postOptimizeDAE: time 0.0007076/0.7256, allocations: 228 kB / 0.7192 GB, free: 14.42 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/0.7259, allocations: 118.6 kB / 0.7193 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/0.7408, allocations: 4.97 MB / 0.7242 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.7409, allocations: 8 kB / 0.7242 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7409, allocations: 0 / 0.7242 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/0.741, allocations: 3.984 kB / 0.7242 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01779/0.7587, allocations: 6.566 MB / 0.7306 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.7588, allocations: 0 / 0.7306 GB, free: 2.605 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009397/0.7598, allocations: 139.8 kB / 0.7308 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006608/0.7664, allocations: 2.059 MB / 0.7328 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002812/0.7667, allocations: 23.98 kB / 0.7328 GB, free: 392 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/0.7863, allocations: 8.659 MB / 0.7412 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7864, allocations: 0 / 0.7412 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/0.8034, allocations: 5.986 MB / 0.7471 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005729/0.804, allocations: 203.5 kB / 0.7473 GB, free: 1.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004248/0.8045, allocations: 24.81 kB / 0.7473 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.806, allocations: 152.2 kB / 0.7475 GB, free: 1.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008803/0.8069, allocations: 216.6 kB / 0.7477 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/0.807, allocations: 20 kB / 0.7477 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001062/0.8081, allocations: 0.5848 MB / 0.7482 GB, free: 364 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8081, allocations: 3.938 kB / 0.7483 GB, free: 360 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001786/0.8099, allocations: 427.4 kB / 0.7487 GB, free: 15.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.01725/0.8272, allocations: 6.586 MB / 0.7551 GB, free: 9.312 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007338/0.8346, allocations: 2.589 MB / 0.7576 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8346, allocations: 0 / 0.7576 GB, free: 6.719 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005251/0.8399, allocations: 1.795 MB / 0.7594 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.8408, allocations: 83.03 kB / 0.7595 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/0.8677, allocations: 12.49 MB / 0.7716 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008124/0.8686, allocations: 1.107 MB / 0.7727 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000576/0.8692, allocations: 69.48 kB / 0.7728 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000681/0.8699, allocations: 433.4 kB / 0.7732 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of SimCode: time 1.302e-06/0.8699, allocations: 1.125 kB / 0.7732 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3138/1.184, allocations: 28.75 MB / 0.8013 GB, free: 154.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/1.184, allocations: 209.8 kB / 0.8015 GB, free: 154.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/4.169, allocations: 0 / 0.8015 GB, free: 154.6 MB / 0.573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)