Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_release_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.0009292/0.0009292, allocations: 174.7 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.297/1.297, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008458/0.0008457, allocations: 88.05 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.4973/0.4973, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.175e-05, allocations: 7.984 kB / 491.9 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3689, allocations: 69.34 MB / 0.5481 GB, free: 20.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.532, allocations: 98.46 MB / 0.6442 GB, free: 2.066 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.5324, allocations: 79.95 kB / 0.6443 GB, free: 1.988 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08111/0.6135, allocations: 25.75 MB / 0.6695 GB, free: 8.047 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.6136, allocations: 0 / 0.6695 GB, free: 8.047 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.183e-05/0.6137, allocations: 20 kB / 0.6695 GB, free: 8.027 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.006261/0.62, allocations: 1.778 MB / 0.6712 GB, free: 6.199 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.62, allocations: 11.97 kB / 0.6712 GB, free: 6.188 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005011/0.6205, allocations: 126.8 kB / 0.6714 GB, free: 6.055 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003764/0.6243, allocations: 0.5642 MB / 0.6719 GB, free: 5.488 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.6261, allocations: 0.7363 MB / 0.6726 GB, free: 4.699 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003053/0.6264, allocations: 260.2 kB / 0.6729 GB, free: 4.406 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/0.6267, allocations: 79.98 kB / 0.673 GB, free: 4.328 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001992/0.6287, allocations: 0.8665 MB / 0.6738 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.6287, allocations: 0 / 0.6738 GB, free: 3.453 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.6289, allocations: 32 kB / 0.6738 GB, free: 3.422 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.6289, allocations: 19.98 kB / 0.6738 GB, free: 3.402 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.6306, allocations: 0.867 MB / 0.6747 GB, free: 2.539 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3564/0.987, allocations: 3.549 MB / 0.6782 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.9886, allocations: 1.222 MB / 0.6794 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009918/0.9897, allocations: 0.5838 MB / 0.6799 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.9898, allocations: 24.34 kB / 0.6799 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.9898, allocations: 49.05 kB / 0.68 GB, free: 103.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.095e-06/0.9899, allocations: 0 / 0.68 GB, free: 103.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.0146/1.004, allocations: 4.065 MB / 0.684 GB, free: 103.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/1.005, allocations: 61.88 kB / 0.684 GB, free: 103.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/1.006, allocations: 0.7434 MB / 0.6847 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002378/1.006, allocations: 43.45 kB / 0.6848 GB, free: 103.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/1.007, allocations: 0.5084 MB / 0.6853 GB, free: 103.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/1.007, allocations: 344.1 kB / 0.6856 GB, free: 102.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/1.007, allocations: 17.78 kB / 0.6856 GB, free: 102.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/1.007, allocations: 334.9 kB / 0.686 GB, free: 102.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007973/1.008, allocations: 449.9 kB / 0.6864 GB, free: 102.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007192/1.009, allocations: 0.5369 MB / 0.6869 GB, free: 102.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/1.009, allocations: 481.9 kB / 0.6874 GB, free: 102.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.009, allocations: 0 / 0.6874 GB, free: 102.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01163/1.021, allocations: 4.169 MB / 0.6914 GB, free: 102.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/1.021, allocations: 8.656 kB / 0.6914 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/1.021, allocations: 0 / 0.6914 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005518/1.027, allocations: 1.732 MB / 0.6931 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009076/1.027, allocations: 180.8 kB / 0.6933 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/1.042, allocations: 7.276 MB / 0.7004 GB, free: 98.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/1.043, allocations: 206.2 kB / 0.7006 GB, free: 98.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/1.043, allocations: 32.09 kB / 0.7006 GB, free: 98.09 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.0002526/1.044, allocations: 148.4 kB / 0.7008 GB, free: 97.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002154/1.044, allocations: 123.8 kB / 0.7009 GB, free: 97.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.055, allocations: 4.214 MB / 0.705 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/1.055, allocations: 10.56 kB / 0.705 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.056, allocations: 0 / 0.705 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/1.056, allocations: 3.562 kB / 0.705 GB, free: 96.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/1.069, allocations: 5.832 MB / 0.7107 GB, free: 93.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/1.069, allocations: 0 / 0.7107 GB, free: 93.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/1.07, allocations: 145.5 kB / 0.7109 GB, free: 92.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004966/1.075, allocations: 1.686 MB / 0.7125 GB, free: 91.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/1.075, allocations: 23.31 kB / 0.7125 GB, free: 91.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.087, allocations: 6.328 MB / 0.7187 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.087, allocations: 7.469 kB / 0.7187 GB, free: 85.73 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.1, allocations: 4.978 MB / 0.7236 GB, free: 81.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005806/1.101, allocations: 207.8 kB / 0.7238 GB, free: 81.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/1.101, allocations: 16 kB / 0.7238 GB, free: 81.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.102, allocations: 159.2 kB / 0.7239 GB, free: 81.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007259/1.103, allocations: 213.2 kB / 0.7242 GB, free: 81.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/1.103, allocations: 31.52 kB / 0.7242 GB, free: 81.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007158/1.104, allocations: 0.5752 MB / 0.7247 GB, free: 80.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.104, allocations: 0 / 0.7247 GB, free: 80.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001235/1.105, allocations: 428.6 kB / 0.7252 GB, free: 80.16 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.01321/1.118, allocations: 5.592 MB / 0.7306 GB, free: 74.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005077/1.123, allocations: 2.022 MB / 0.7326 GB, free: 72.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.123, allocations: 0 / 0.7326 GB, free: 72.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004087/1.127, allocations: 1.486 MB / 0.734 GB, free: 71.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/1.128, allocations: 68.42 kB / 0.7341 GB, free: 71.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/1.131, allocations: 1.654 MB / 0.7357 GB, free: 69.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/1.132, allocations: 1.114 MB / 0.7368 GB, free: 68.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003195/1.132, allocations: 72.91 kB / 0.7369 GB, free: 68.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/1.133, allocations: 431.3 kB / 0.7373 GB, free: 68.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.343e-06/1.133, allocations: 0 / 0.7373 GB, free: 68.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04719/1.18, allocations: 29.17 MB / 0.7658 GB, free: 39.34 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/1.18, allocations: 188.4 kB / 0.766 GB, free: 39.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/4.161, allocations: 0 / 0.766 GB, free: 39.11 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)