Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_release_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.0009418/0.0009418, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 221.5 MB / 229.6 MB, free: 3.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008886/0.0008885, allocations: 99.09 kB / 280.5 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4613/0.4613, allocations: 78.13 MB / 409.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.485e-05, allocations: 4 kB / 485 MB, free: 4.098 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3524, allocations: 69.36 MB / 0.5414 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1177/0.4701, allocations: 98.66 MB / 0.6378 GB, free: 6.031 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.4704, allocations: 79.95 kB / 0.6378 GB, free: 5.953 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06615/0.5365, allocations: 25.29 MB / 0.6625 GB, free: 12.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5366, allocations: 0 / 0.6625 GB, free: 12.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.637e-05/0.5366, allocations: 20 kB / 0.6625 GB, free: 12.47 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.005036/0.5417, allocations: 1.711 MB / 0.6642 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.5418, allocations: 12.03 kB / 0.6642 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003317/0.5451, allocations: 0.5487 MB / 0.6648 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.5467, allocations: 0.7516 MB / 0.6655 GB, free: 9.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003293/0.547, allocations: 240.5 kB / 0.6657 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.5471, allocations: 47.95 kB / 0.6658 GB, free: 9.023 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/0.5487, allocations: 0.8202 MB / 0.6666 GB, free: 8.203 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.5503, allocations: 0.8329 MB / 0.6674 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.5504, allocations: 0 / 0.6674 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-05/0.5505, allocations: 4 kB / 0.6674 GB, free: 7.355 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.5505, allocations: 16 kB / 0.6674 GB, free: 7.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007192/0.5577, allocations: 3.389 MB / 0.6707 GB, free: 3.809 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.5593, allocations: 1.196 MB / 0.6719 GB, free: 2.492 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008151/0.5601, allocations: 0.5505 MB / 0.6724 GB, free: 1.938 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.5602, allocations: 8.781 kB / 0.6724 GB, free: 1.926 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.5603, allocations: 47.34 kB / 0.6725 GB, free: 1.871 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.316e-06/0.5603, allocations: 0 / 0.6725 GB, free: 1.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.3557/0.916, allocations: 3.971 MB / 0.6763 GB, free: 105.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.9161, allocations: 90.84 kB / 0.6764 GB, free: 105.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.9177, allocations: 0.7015 MB / 0.6771 GB, free: 105.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002458/0.918, allocations: 25.7 kB / 0.6771 GB, free: 105.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.9184, allocations: 0.4907 MB / 0.6776 GB, free: 105.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/0.9187, allocations: 301.7 kB / 0.6779 GB, free: 105.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.273e-05/0.9188, allocations: 0 / 0.6779 GB, free: 105.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.991e-05/0.9189, allocations: 334.1 kB / 0.6782 GB, free: 105.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.9197, allocations: 422.1 kB / 0.6786 GB, free: 105.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007816/0.9205, allocations: 0.5202 MB / 0.6791 GB, free: 105.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007902/0.9213, allocations: 462 kB / 0.6796 GB, free: 105.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.9213, allocations: 0 / 0.6796 GB, free: 105.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.0129/0.9342, allocations: 4.066 MB / 0.6836 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00024/0.9345, allocations: 0.7904 MB / 0.6843 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.9345, allocations: 5.25 kB / 0.6843 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005923/0.9404, allocations: 1.683 MB / 0.686 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/0.9413, allocations: 147 kB / 0.6861 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.9547, allocations: 7.053 MB / 0.693 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.9564, allocations: 185.6 kB / 0.6932 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.9565, allocations: 27.03 kB / 0.6932 GB, free: 101.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.9565, allocations: 3.844 kB / 0.6932 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01102/0.9675, allocations: 3.908 MB / 0.697 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.9676, allocations: 3.5 kB / 0.697 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005083/0.9727, allocations: 1.684 MB / 0.6987 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/0.9734, allocations: 131.8 kB / 0.6988 GB, free: 100.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.9878, allocations: 7.065 MB / 0.7057 GB, free: 96.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.9894, allocations: 173 kB / 0.7059 GB, free: 96.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.9895, allocations: 25.91 kB / 0.7059 GB, free: 96.88 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.0003477/0.9899, allocations: 128.5 kB / 0.706 GB, free: 96.77 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01148/1.001, allocations: 3.976 MB / 0.7099 GB, free: 95.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004818/1.002, allocations: 114.6 kB / 0.71 GB, free: 95.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.013, allocations: 4.081 MB / 0.714 GB, free: 92.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/1.013, allocations: 8 kB / 0.714 GB, free: 92.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/1.013, allocations: 4 kB / 0.714 GB, free: 92.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/1.013, allocations: 7.734 kB / 0.714 GB, free: 92.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/1.027, allocations: 5.605 MB / 0.7195 GB, free: 87.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.027, allocations: 0 / 0.7195 GB, free: 87.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/1.027, allocations: 118.7 kB / 0.7196 GB, free: 87.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005049/1.032, allocations: 1.667 MB / 0.7212 GB, free: 86.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/1.033, allocations: 4 kB / 0.7212 GB, free: 86.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/1.044, allocations: 6.194 MB / 0.7273 GB, free: 79.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/1.044, allocations: 4 kB / 0.7273 GB, free: 79.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/1.056, allocations: 4.827 MB / 0.732 GB, free: 75.04 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/1.057, allocations: 207.5 kB / 0.7322 GB, free: 74.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/1.057, allocations: 0 / 0.7322 GB, free: 74.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/1.058, allocations: 139.9 kB / 0.7323 GB, free: 74.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000525/1.058, allocations: 200.4 kB / 0.7325 GB, free: 74.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/1.058, allocations: 27.94 kB / 0.7325 GB, free: 74.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006255/1.059, allocations: 0.5411 MB / 0.7331 GB, free: 73.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.059, allocations: 8 kB / 0.7331 GB, free: 73.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001689/1.061, allocations: 0.5942 MB / 0.7337 GB, free: 73.31 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.0125/1.073, allocations: 5.405 MB / 0.7389 GB, free: 67.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008529/1.082, allocations: 3.422 MB / 0.7423 GB, free: 64.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.082, allocations: 0 / 0.7423 GB, free: 64.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003817/1.086, allocations: 1.438 MB / 0.7437 GB, free: 63.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/1.086, allocations: 68.3 kB / 0.7437 GB, free: 62.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/1.09, allocations: 1.692 MB / 0.7454 GB, free: 61.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/1.09, allocations: 1.13 MB / 0.7465 GB, free: 60.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005976/1.091, allocations: 160 kB / 0.7467 GB, free: 59.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004071/1.091, allocations: 407.3 kB / 0.747 GB, free: 59.52 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/1.091, allocations: 0 / 0.747 GB, free: 59.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05716/1.148, allocations: 35.31 MB / 0.7815 GB, free: 24.47 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/1.149, allocations: 135.6 kB / 0.7817 GB, free: 24.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.098/4.247, allocations: 5.562 kB / 0.7817 GB, free: 24.27 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)