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.0009189/0.0009189, allocations: 175.2 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.184/1.184, allocations: 221.4 MB / 234.6 MB, free: 14.39 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.0007982/0.000798, allocations: 93.88 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4502/0.4502, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.874e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.2995, allocations: 69.5 MB / 0.5492 GB, free: 19.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.4094, allocations: 98.83 MB / 0.6457 GB, free: 0.7734 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.4097, allocations: 79.95 kB / 0.6458 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06452/0.4743, allocations: 25.69 MB / 0.6709 GB, free: 6.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4743, allocations: 4 kB / 0.6709 GB, free: 6.816 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.963e-05/0.4743, allocations: 16 kB / 0.6709 GB, free: 6.801 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004323/0.4787, allocations: 1.77 MB / 0.6726 GB, free: 4.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4787, allocations: 11.97 kB / 0.6726 GB, free: 4.969 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001705/0.4789, allocations: 138.8 kB / 0.6728 GB, free: 4.824 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/0.4819, allocations: 0.549 MB / 0.6733 GB, free: 4.273 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.4832, allocations: 0.7321 MB / 0.674 GB, free: 3.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.4834, allocations: 268.2 kB / 0.6743 GB, free: 3.188 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.4836, allocations: 72 kB / 0.6743 GB, free: 3.117 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.4851, allocations: 0.8664 MB / 0.6752 GB, free: 2.242 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4851, allocations: 4 kB / 0.6752 GB, free: 2.238 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.818e-05/0.4852, allocations: 32 kB / 0.6752 GB, free: 2.207 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.4852, allocations: 16 kB / 0.6752 GB, free: 2.191 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001443/0.4867, allocations: 0.8592 MB / 0.6761 GB, free: 1.336 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2621/0.7487, allocations: 3.533 MB / 0.6795 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.75, allocations: 1.208 MB / 0.6807 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008608/0.7509, allocations: 0.5829 MB / 0.6813 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.751, allocations: 14.59 kB / 0.6813 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.7511, allocations: 45.91 kB / 0.6813 GB, free: 103.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 3.096e-06/0.7511, allocations: 0.9062 kB / 0.6813 GB, free: 103.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01235/0.7634, allocations: 4.06 MB / 0.6853 GB, free: 103.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/0.7635, allocations: 59.91 kB / 0.6854 GB, free: 103.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008469/0.7643, allocations: 0.7361 MB / 0.6861 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.7645, allocations: 38.58 kB / 0.6861 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002559/0.7648, allocations: 0.4895 MB / 0.6866 GB, free: 103 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.765, allocations: 341.6 kB / 0.6869 GB, free: 102.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.117e-05/0.7651, allocations: 16.59 kB / 0.6869 GB, free: 102.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.7652, allocations: 344 kB / 0.6873 GB, free: 102.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006386/0.7658, allocations: 434.6 kB / 0.6877 GB, free: 102.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006629/0.7665, allocations: 0.5311 MB / 0.6882 GB, free: 102.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.7672, allocations: 476.7 kB / 0.6886 GB, free: 102.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7672, allocations: 0 / 0.6886 GB, free: 102.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01081/0.778, allocations: 4.184 MB / 0.6927 GB, free: 102 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.778, allocations: 7.375 kB / 0.6927 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.7781, allocations: 3.781 kB / 0.6927 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004887/0.7829, allocations: 1.791 MB / 0.6945 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/0.7837, allocations: 161.3 kB / 0.6946 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.7957, allocations: 7.096 MB / 0.7016 GB, free: 97.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.7969, allocations: 199.9 kB / 0.7018 GB, free: 97.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.222e-05/0.797, allocations: 34.94 kB / 0.7018 GB, free: 97.81 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" ) "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 () * 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.0002061/0.7973, allocations: 150.8 kB / 0.7019 GB, free: 97.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.7974, allocations: 120.6 kB / 0.7021 GB, free: 97.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.8082, allocations: 4.214 MB / 0.7062 GB, free: 96.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.8082, allocations: 12 kB / 0.7062 GB, free: 96.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.8082, allocations: 3.281 kB / 0.7062 GB, free: 96.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/0.8082, allocations: 6.469 kB / 0.7062 GB, free: 96.19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01211/0.8203, allocations: 5.8 MB / 0.7119 GB, free: 91.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.8204, allocations: 3.938 kB / 0.7119 GB, free: 91.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.821, allocations: 146.1 kB / 0.712 GB, free: 91.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004531/0.8256, allocations: 1.681 MB / 0.7136 GB, free: 90.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.8257, allocations: 19.88 kB / 0.7137 GB, free: 90.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01056/0.8363, allocations: 6.323 MB / 0.7198 GB, free: 84.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8363, allocations: 4 kB / 0.7198 GB, free: 84.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01166/0.848, allocations: 4.95 MB / 0.7247 GB, free: 80.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.8483, allocations: 206 kB / 0.7249 GB, free: 79.99 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.8485, allocations: 23.47 kB / 0.7249 GB, free: 79.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009948/0.8495, allocations: 159.4 kB / 0.725 GB, free: 79.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005954/0.8501, allocations: 214.7 kB / 0.7253 GB, free: 79.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/0.8502, allocations: 27.94 kB / 0.7253 GB, free: 79.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005787/0.8508, allocations: 0.5697 MB / 0.7258 GB, free: 79.17 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8508, allocations: 0 / 0.7258 GB, free: 79.17 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009616/0.8517, allocations: 424.9 kB / 0.7262 GB, free: 78.76 MB / 490.7 MB 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 () * 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.01206/0.8638, allocations: 5.543 MB / 0.7317 GB, free: 73.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004604/0.8684, allocations: 2 MB / 0.7336 GB, free: 71.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8685, allocations: 0 / 0.7336 GB, free: 71.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.8721, allocations: 1.496 MB / 0.7351 GB, free: 69.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006094/0.8727, allocations: 80.31 kB / 0.7351 GB, free: 69.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.8754, allocations: 1.561 MB / 0.7367 GB, free: 68.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.8758, allocations: 1.104 MB / 0.7377 GB, free: 66.92 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.8761, allocations: 72.64 kB / 0.7378 GB, free: 66.85 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/0.8765, allocations: 431.3 kB / 0.7382 GB, free: 66.43 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.8765, allocations: 0 / 0.7382 GB, free: 66.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.915, allocations: 28.73 MB / 0.7663 GB, free: 38.18 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001305/0.9151, allocations: 184 kB / 0.7665 GB, free: 37.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.648, allocations: 2.109 kB / 0.7665 GB, free: 37.95 MB / 490.7 MB (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)