Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",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.0009615/0.0009615, allocations: 174.6 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.197/1.197, 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.000794/0.0007943, allocations: 89.62 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4232/0.4232, allocations: 78.91 MB / 415.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.076e-05/3.078e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2967, allocations: 69.51 MB / 0.5492 GB, free: 19.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.4149, allocations: 99.91 MB / 0.6468 GB, free: 15.69 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4152, allocations: 75.91 kB / 0.6469 GB, free: 15.61 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06846/0.4837, allocations: 25.89 MB / 0.6721 GB, free: 5.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4837, allocations: 4 kB / 0.6721 GB, free: 5.543 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.511e-05/0.4838, allocations: 20 kB / 0.6722 GB, free: 5.523 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004554/0.4883, allocations: 1.707 MB / 0.6738 GB, free: 3.766 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4884, allocations: 15.91 kB / 0.6738 GB, free: 3.75 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002271/0.4886, allocations: 134.5 kB / 0.674 GB, free: 3.609 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003214/0.4918, allocations: 0.5526 MB / 0.6745 GB, free: 3.055 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.4935, allocations: 0.7558 MB / 0.6752 GB, free: 2.246 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.4939, allocations: 264.1 kB / 0.6755 GB, free: 1.949 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.494, allocations: 72 kB / 0.6756 GB, free: 1.879 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.4957, allocations: 0.9384 MB / 0.6765 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.4958, allocations: 0 / 0.6765 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.556e-05/0.4959, allocations: 32 kB / 0.6765 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.4959, allocations: 16 kB / 0.6765 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.4975, allocations: 0.8592 MB / 0.6774 GB, free: 20 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2918/0.7893, allocations: 3.508 MB / 0.6808 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.7907, allocations: 1.222 MB / 0.682 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008517/0.7916, allocations: 0.573 MB / 0.6825 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.7917, allocations: 18.73 kB / 0.6826 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.7917, allocations: 44.38 kB / 0.6826 GB, free: 102.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.096e-06/0.7917, allocations: 0 / 0.6826 GB, free: 102.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01256/0.8043, allocations: 4.048 MB / 0.6866 GB, free: 102.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.8044, allocations: 85.77 kB / 0.6866 GB, free: 102.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009779/0.8054, allocations: 0.7706 MB / 0.6874 GB, free: 102.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.8055, allocations: 42.36 kB / 0.6874 GB, free: 102.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.8058, allocations: 484.4 kB / 0.6879 GB, free: 102.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.806, allocations: 316.4 kB / 0.6882 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.918e-05/0.8061, allocations: 15.22 kB / 0.6882 GB, free: 101.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.8062, allocations: 340.4 kB / 0.6885 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006335/0.8068, allocations: 433.3 kB / 0.689 GB, free: 101.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.8075, allocations: 0.5353 MB / 0.6895 GB, free: 101.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006793/0.8081, allocations: 476.5 kB / 0.6899 GB, free: 101.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8082, allocations: 0 / 0.6899 GB, free: 101.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.011/0.8192, allocations: 4.142 MB / 0.694 GB, free: 100.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/0.8193, allocations: 0.7904 MB / 0.6947 GB, free: 99.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.8194, allocations: 0 / 0.6947 GB, free: 99.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00506/0.8244, allocations: 1.734 MB / 0.6964 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.8251, allocations: 142.5 kB / 0.6966 GB, free: 99.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.8376, allocations: 7.264 MB / 0.7037 GB, free: 95.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.839, allocations: 202.8 kB / 0.7039 GB, free: 95.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-05/0.839, allocations: 29.09 kB / 0.7039 GB, free: 95.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.8391, allocations: 5.938 kB / 0.7039 GB, free: 95.61 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01057/0.8496, allocations: 4.005 MB / 0.7078 GB, free: 94.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.8497, allocations: 0 / 0.7078 GB, free: 94.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004807/0.8545, allocations: 1.724 MB / 0.7095 GB, free: 93.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.8551, allocations: 134.6 kB / 0.7096 GB, free: 93.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.8671, allocations: 7.253 MB / 0.7167 GB, free: 86.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.8683, allocations: 192.5 kB / 0.7169 GB, free: 86.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.8684, allocations: 31.94 kB / 0.7169 GB, free: 86.33 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real 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 (69): * Single equations (assignments): 68 * 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.0002418/0.8687, allocations: 151.3 kB / 0.7171 GB, free: 86.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/0.8689, allocations: 118.5 kB / 0.7172 GB, free: 86.06 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01073/0.8796, allocations: 4.168 MB / 0.7212 GB, free: 82.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.8797, allocations: 11.95 kB / 0.7213 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.8797, allocations: 0 / 0.7213 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.8797, allocations: 7.75 kB / 0.7213 GB, free: 82.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.892, allocations: 5.78 MB / 0.7269 GB, free: 78.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.892, allocations: 0 / 0.7269 GB, free: 78.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005613/0.8926, allocations: 111.9 kB / 0.727 GB, free: 78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004552/0.8971, allocations: 1.682 MB / 0.7287 GB, free: 76.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.8973, allocations: 16 kB / 0.7287 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.9081, allocations: 6.334 MB / 0.7349 GB, free: 69.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9081, allocations: 0 / 0.7349 GB, free: 69.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0118/0.9199, allocations: 4.907 MB / 0.7396 GB, free: 64.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/0.9204, allocations: 203.5 kB / 0.7398 GB, free: 64.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.9206, allocations: 20 kB / 0.7399 GB, free: 64.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.9216, allocations: 147.9 kB / 0.74 GB, free: 64.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005842/0.9222, allocations: 204.4 kB / 0.7402 GB, free: 64.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.9223, allocations: 24 kB / 0.7402 GB, free: 64.31 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006709/0.923, allocations: 0.6089 MB / 0.7408 GB, free: 63.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.923, allocations: 0 / 0.7408 GB, free: 63.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00151/0.9245, allocations: 0.6581 MB / 0.7415 GB, free: 63.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.012/0.9365, allocations: 5.499 MB / 0.7468 GB, free: 57.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008369/0.9449, allocations: 3.534 MB / 0.7503 GB, free: 53.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.945, allocations: 0 / 0.7503 GB, free: 53.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.9486, allocations: 1.477 MB / 0.7517 GB, free: 52.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.9494, allocations: 92.22 kB / 0.7518 GB, free: 52.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.9525, allocations: 1.742 MB / 0.7535 GB, free: 50.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.953, allocations: 1.138 MB / 0.7546 GB, free: 49.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005792/0.9535, allocations: 159.7 kB / 0.7548 GB, free: 49.31 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/0.9539, allocations: 411.3 kB / 0.7552 GB, free: 48.91 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.9539, allocations: 3.938 kB / 0.7552 GB, free: 48.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05023/1.004, allocations: 37.93 MB / 0.7922 GB, free: 11.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/1.004, allocations: 171 kB / 0.7924 GB, free: 11.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/3.949, allocations: 0 / 0.7924 GB, free: 11.17 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)