Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",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.001478/0.001479, allocations: 180.9 kB / 7.65 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.595/1.595, allocations: 221.5 MB / 229.6 MB, free: 7.598 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.0013/0.0013, allocations: 91.11 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4987/0.4987, allocations: 78.07 MB / 409.3 MB, free: 6.312 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.268e-05/2.277e-05, allocations: 7.938 kB / 485 MB, free: 12.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1528, allocations: 69.36 MB / 0.5414 GB, free: 6.762 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.614, allocations: 98.75 MB / 0.6378 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.6144, allocations: 84.7 kB / 0.6379 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06685/0.6812, allocations: 24.92 MB / 0.6622 GB, free: 7.785 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6813, allocations: 0.5625 kB / 0.6622 GB, free: 7.785 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.983e-05/0.6813, allocations: 20 kB / 0.6623 GB, free: 7.766 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004488/0.6858, allocations: 1.626 MB / 0.6638 GB, free: 6.094 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6859, allocations: 8.031 kB / 0.6639 GB, free: 6.086 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/0.6888, allocations: 488.7 kB / 0.6643 GB, free: 5.609 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.6902, allocations: 0.6848 MB / 0.665 GB, free: 4.867 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.6904, allocations: 203.2 kB / 0.6652 GB, free: 4.641 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001165/0.6905, allocations: 40 kB / 0.6652 GB, free: 4.602 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001379/0.6919, allocations: 0.7732 MB / 0.666 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.6933, allocations: 0.8112 MB / 0.6668 GB, free: 3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.6933, allocations: 4 kB / 0.6668 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/0.6934, allocations: 0 / 0.6668 GB, free: 2.996 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.6934, allocations: 16 kB / 0.6668 GB, free: 2.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005322/0.6988, allocations: 2.876 MB / 0.6696 GB, free: 4 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.7001, allocations: 1.007 MB / 0.6706 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.7008, allocations: 0.5047 MB / 0.6711 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.7009, allocations: 16.77 kB / 0.6711 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.7009, allocations: 43.34 kB / 0.6711 GB, free: 14.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.046e-06/0.7009, allocations: 0 / 0.6711 GB, free: 14.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01044/0.7114, allocations: 3.457 MB / 0.6745 GB, free: 10.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.7115, allocations: 85.89 kB / 0.6746 GB, free: 10.77 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.7126, allocations: 0.6566 MB / 0.6752 GB, free: 10.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.7128, allocations: 25.7 kB / 0.6753 GB, free: 10.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.7131, allocations: 480.5 kB / 0.6757 GB, free: 9.582 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.7134, allocations: 307.4 kB / 0.676 GB, free: 9.277 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.7135, allocations: 0 / 0.676 GB, free: 9.277 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7136, allocations: 330 kB / 0.6763 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/0.7143, allocations: 398.6 kB / 0.6767 GB, free: 8.559 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.715, allocations: 0.498 MB / 0.6772 GB, free: 8.027 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006926/0.7157, allocations: 428.4 kB / 0.6776 GB, free: 7.609 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.7157, allocations: 4.031 kB / 0.6776 GB, free: 7.605 MB / 490.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.01078/0.7265, allocations: 3.59 MB / 0.6811 GB, free: 4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003375/0.7269, allocations: 0.8778 MB / 0.682 GB, free: 3.059 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.7269, allocations: 4 kB / 0.682 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004978/0.7319, allocations: 1.468 MB / 0.6834 GB, free: 1.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008045/0.7327, allocations: 135.8 kB / 0.6835 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.7363, allocations: 1.879 MB / 0.6854 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.7377, allocations: 163.3 kB / 0.6855 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.373e-05/0.7378, allocations: 31.98 kB / 0.6855 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7379, allocations: 4 kB / 0.6856 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01026/0.7481, allocations: 3.402 MB / 0.6889 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.7482, allocations: 7.938 kB / 0.6889 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004912/0.7531, allocations: 1.454 MB / 0.6903 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.7539, allocations: 135.8 kB / 0.6904 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.7671, allocations: 6.767 MB / 0.697 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.7686, allocations: 159.3 kB / 0.6972 GB, free: 3.297 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.7688, allocations: 27.98 kB / 0.6972 GB, free: 3.27 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: thLoad.Limiter1.y:VARIABLE() "Connector of Real output signal" 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: 1 (thLoad.Limiter.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {20 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004321/0.7692, allocations: 114 kB / 0.6973 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01067/0.7799, allocations: 3.442 MB / 0.7007 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/0.7805, allocations: 110.6 kB / 0.7008 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.7911, allocations: 3.56 MB / 0.7043 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/0.7912, allocations: 8 kB / 0.7043 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7912, allocations: 0 / 0.7043 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/0.7913, allocations: 3.984 kB / 0.7043 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01278/0.8041, allocations: 4.9 MB / 0.7091 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.8041, allocations: 0 / 0.7091 GB, free: 6.996 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/0.805, allocations: 127 kB / 0.7092 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00479/0.8098, allocations: 1.442 MB / 0.7106 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001938/0.81, allocations: 11.94 kB / 0.7106 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/0.8218, allocations: 6.037 MB / 0.7165 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.8219, allocations: 0 / 0.7165 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.8338, allocations: 4.265 MB / 0.7207 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004762/0.8343, allocations: 199.6 kB / 0.7209 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.8345, allocations: 0 / 0.7209 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.8355, allocations: 123.9 kB / 0.721 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005811/0.8361, allocations: 184.5 kB / 0.7212 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/0.8362, allocations: 23.98 kB / 0.7212 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007338/0.8369, allocations: 0.5219 MB / 0.7217 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.703e-06/0.8369, allocations: 0 / 0.7217 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001802/0.8388, allocations: 0.5184 MB / 0.7222 GB, free: 9.383 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,thLoad.firstOrder.state,thLoad.Limiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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 {21 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01232/0.8511, allocations: 4.853 MB / 0.7269 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008651/0.8598, allocations: 2.883 MB / 0.7297 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.8598, allocations: 0 / 0.7297 GB, free: 1.594 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003814/0.8637, allocations: 1.34 MB / 0.7311 GB, free: 252 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008175/0.8645, allocations: 73.59 kB / 0.7311 GB, free: 180 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/0.8685, allocations: 1.668 MB / 0.7328 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.8692, allocations: 1.103 MB / 0.7338 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007134/0.8699, allocations: 172.1 kB / 0.734 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000481/0.8704, allocations: 406 kB / 0.7344 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of SimCode: time 5.71e-07/0.8704, allocations: 0 / 0.7344 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3398/1.21, allocations: 30.71 MB / 0.7644 GB, free: 149.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/1.21, allocations: 118.9 kB / 0.7645 GB, free: 149.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/4.189, allocations: 0 / 0.7645 GB, free: 149.2 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)