Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, 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 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.2 MB / 218.5 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009268/0.0009266, allocations: 97.25 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06923/0.06923, allocations: 12.18 MB / 326.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2784/0.2784, allocations: 78.02 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.941e-05, allocations: 8 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 69.24 MB / 0.5889 GB, free: 2.922 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4376/0.5614, allocations: 101.1 MB / 0.6877 GB, free: 15.11 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.5617, allocations: 81.27 kB / 0.6878 GB, free: 15.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06386/0.6256, allocations: 24.98 MB / 0.7122 GB, free: 9.969 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6256, allocations: 0 / 0.7122 GB, free: 9.969 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.499e-05/0.6257, allocations: 21.31 kB / 0.7122 GB, free: 9.949 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004526/0.6302, allocations: 1.723 MB / 0.7139 GB, free: 8.297 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.6303, allocations: 11.98 kB / 0.7139 GB, free: 8.285 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001959/0.6305, allocations: 131.4 kB / 0.714 GB, free: 8.199 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/0.6337, allocations: 0.558 MB / 0.7146 GB, free: 7.684 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.6352, allocations: 0.7673 MB / 0.7153 GB, free: 7.016 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002934/0.6355, allocations: 267.5 kB / 0.7156 GB, free: 6.746 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/0.6357, allocations: 73 kB / 0.7156 GB, free: 6.699 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.6373, allocations: 0.9442 MB / 0.7166 GB, free: 6.078 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.6373, allocations: 0 / 0.7166 GB, free: 6.078 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-05/0.6374, allocations: 29.5 kB / 0.7166 GB, free: 6.074 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.6375, allocations: 20 kB / 0.7166 GB, free: 6.055 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.6389, allocations: 0.8547 MB / 0.7174 GB, free: 5.523 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005737/0.6446, allocations: 3.515 MB / 0.7209 GB, free: 2.805 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.6461, allocations: 1.241 MB / 0.7221 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007793/0.6469, allocations: 0.5724 MB / 0.7226 GB, free: 1.457 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.647, allocations: 16.73 kB / 0.7227 GB, free: 1.441 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.6471, allocations: 45.59 kB / 0.7227 GB, free: 1.395 MB / 458.7 MB Notification: Performance of pre-optimization done (n=90): time 3.176e-06/0.6471, allocations: 0 / 0.7227 GB, free: 1.395 MB / 458.7 MB Notification: Performance of matching and sorting (n=90): time 0.01163/0.6587, allocations: 4.042 MB / 0.7266 GB, free: 13.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.6588, allocations: 89.89 kB / 0.7267 GB, free: 13.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.6599, allocations: 0.7577 MB / 0.7275 GB, free: 13.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.6601, allocations: 40.02 kB / 0.7275 GB, free: 13.16 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.6604, allocations: 0.4894 MB / 0.728 GB, free: 12.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.6607, allocations: 320.6 kB / 0.7283 GB, free: 12.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.6608, allocations: 16.75 kB / 0.7283 GB, free: 12.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.6609, allocations: 342.4 kB / 0.7286 GB, free: 12.29 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006944/0.6616, allocations: 438.4 kB / 0.7291 GB, free: 12.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/0.6623, allocations: 0.5359 MB / 0.7296 GB, free: 11.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007545/0.6631, allocations: 488 kB / 0.73 GB, free: 11.43 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6631, allocations: 0 / 0.73 GB, free: 11.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01196/0.6751, allocations: 4.199 MB / 0.7341 GB, free: 7.816 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003265/0.6755, allocations: 0.7967 MB / 0.7349 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.6755, allocations: 0 / 0.7349 GB, free: 6.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005396/0.6809, allocations: 1.72 MB / 0.7366 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.6816, allocations: 131.2 kB / 0.7367 GB, free: 5.359 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.6954, allocations: 7.263 MB / 0.7438 GB, free: 15.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.697, allocations: 203.1 kB / 0.744 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-05/0.6971, allocations: 28 kB / 0.744 GB, free: 15.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.6971, allocations: 4 kB / 0.744 GB, free: 15.56 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01151/0.7086, allocations: 4.07 MB / 0.748 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.7087, allocations: 0 / 0.748 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005224/0.7139, allocations: 1.71 MB / 0.7497 GB, free: 9.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006804/0.7146, allocations: 135.8 kB / 0.7498 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.7284, allocations: 7.249 MB / 0.7569 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.73, allocations: 183.2 kB / 0.7571 GB, free: 2.074 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.611e-05/0.7301, allocations: 35.98 kB / 0.7571 GB, free: 2.039 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" ) "d-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.000301/0.7304, allocations: 155.4 kB / 0.7573 GB, free: 1.883 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.7306, allocations: 114.6 kB / 0.7574 GB, free: 1.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.743, allocations: 4.169 MB / 0.7614 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.7431, allocations: 8 kB / 0.7614 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.7431, allocations: 0 / 0.7614 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.7431, allocations: 11.98 kB / 0.7615 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01457/0.7577, allocations: 5.79 MB / 0.7671 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.7578, allocations: 7.938 kB / 0.7671 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006578/0.7584, allocations: 111.9 kB / 0.7672 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005212/0.7637, allocations: 1.683 MB / 0.7689 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.7638, allocations: 23.94 kB / 0.7689 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01261/0.7764, allocations: 6.313 MB / 0.7751 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7765, allocations: 0 / 0.7751 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.7899, allocations: 4.932 MB / 0.7799 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/0.7905, allocations: 203.5 kB / 0.7801 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.7906, allocations: 20 kB / 0.7801 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/0.7918, allocations: 147.9 kB / 0.7802 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006158/0.7924, allocations: 200.4 kB / 0.7804 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/0.7925, allocations: 24 kB / 0.7804 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008495/0.7933, allocations: 0.6011 MB / 0.781 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7933, allocations: 0 / 0.781 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001794/0.7951, allocations: 0.6709 MB / 0.7817 GB, free: 8.508 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 56 * 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.01383/0.809, allocations: 5.53 MB / 0.7871 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009302/0.8183, allocations: 3.538 MB / 0.7905 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.8184, allocations: 0 / 0.7905 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004191/0.8226, allocations: 1.477 MB / 0.792 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008243/0.8234, allocations: 92.28 kB / 0.7921 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.8272, allocations: 1.814 MB / 0.7938 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/0.8279, allocations: 1.138 MB / 0.795 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000638/0.8285, allocations: 160.8 kB / 0.7951 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005109/0.829, allocations: 411.3 kB / 0.7955 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of SimCode: time 2.965e-06/0.829, allocations: 0 / 0.7955 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06289/0.8919, allocations: 37.85 MB / 0.8325 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/0.8922, allocations: 179.5 kB / 0.8326 GB, free: 4.234 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/3.992, allocations: 3.25 kB / 0.8326 GB, free: 4.234 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_TG.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)