Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 90.98 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.529/1.529, allocations: 223.3 MB / 239.4 MB, free: 5.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 180.5 kB / 290.6 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6172/0.6172, allocations: 91.92 MB / 433.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006533/0.0006534, allocations: 16.27 kB / 0.5049 GB, free: 7.156 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4736, allocations: 72.46 MB / 0.5756 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad): time 0.004972/0.4787, allocations: 5.707 MB / 0.5812 GB, free: 32.86 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.4823, allocations: 1.912 MB / 0.5831 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005665/0.4829, allocations: 11.75 kB / 0.5831 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.4834, allocations: 166.1 kB / 0.5832 GB, free: 31.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.4849, allocations: 0.5849 MB / 0.5838 GB, free: 31.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.4861, allocations: 0.5883 MB / 0.5844 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.4871, allocations: 1.23 MB / 0.5856 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.4876, allocations: 297.8 kB / 0.5859 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004996/0.4881, allocations: 468.1 kB / 0.5863 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006008/0.4887, allocations: 0.6105 MB / 0.5869 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.4888, allocations: 48.97 kB / 0.587 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003829/0.4892, allocations: 172.6 kB / 0.5871 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001752/0.4894, allocations: 224.2 kB / 0.5873 GB, free: 29.33 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003609/0.4897, allocations: 0.538 MB / 0.5879 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009941/0.4907, allocations: 1.369 MB / 0.5892 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4908, allocations: 3.406 kB / 0.5892 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4908, allocations: 3.938 kB / 0.5892 GB, free: 28.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4908, allocations: 0 / 0.5892 GB, free: 28.43 MB / 430.1 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.006829/0.4976, allocations: 2.181 MB / 0.5913 GB, free: 27.45 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.4977, allocations: 9.594 kB / 0.5914 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.4979, allocations: 122.8 kB / 0.5915 GB, free: 27.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004206/0.5021, allocations: 0.6694 MB / 0.5921 GB, free: 27.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.5033, allocations: 0.7459 MB / 0.5929 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.5035, allocations: 224.2 kB / 0.5931 GB, free: 26.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.5037, allocations: 73.34 kB / 0.5931 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.5061, allocations: 1.172 MB / 0.5943 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.5062, allocations: 0 / 0.5943 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.2e-05/0.5063, allocations: 39.14 kB / 0.5943 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.5063, allocations: 17.03 kB / 0.5943 GB, free: 26.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002535/0.5088, allocations: 1.126 MB / 0.5954 GB, free: 25.67 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005143/0.514, allocations: 3.025 MB / 0.5984 GB, free: 24.04 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.5164, allocations: 1.353 MB / 0.5997 GB, free: 23.3 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.5181, allocations: 0.7819 MB / 0.6005 GB, free: 23.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.253e-05/0.5182, allocations: 18.86 kB / 0.6005 GB, free: 23.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.5182, allocations: 39.56 kB / 0.6005 GB, free: 22.97 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 2.835e-06/0.5182, allocations: 0 / 0.6005 GB, free: 22.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02959/0.5478, allocations: 7.599 MB / 0.608 GB, free: 21.64 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.5479, allocations: 94.7 kB / 0.608 GB, free: 21.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.5495, allocations: 0.8921 MB / 0.6089 GB, free: 21.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002339/0.5498, allocations: 40.55 kB / 0.609 GB, free: 21.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.5501, allocations: 475.3 kB / 0.6094 GB, free: 20.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003332/0.5505, allocations: 323.3 kB / 0.6097 GB, free: 20.49 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.5507, allocations: 98.28 kB / 0.6098 GB, free: 20.44 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.5508, allocations: 348.5 kB / 0.6101 GB, free: 20.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001736/0.5525, allocations: 0.7492 MB / 0.6109 GB, free: 19.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.5543, allocations: 0.8792 MB / 0.6117 GB, free: 19.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/0.5579, allocations: 1.605 MB / 0.6133 GB, free: 18.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.5579, allocations: 0 / 0.6133 GB, free: 18.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01498/0.5729, allocations: 4.609 MB / 0.6178 GB, free: 17.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.5731, allocations: 161.9 kB / 0.618 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.5731, allocations: 3.031 kB / 0.618 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005999/0.5791, allocations: 1.848 MB / 0.6198 GB, free: 16.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.5802, allocations: 195.8 kB / 0.6199 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.5986, allocations: 9.111 MB / 0.6288 GB, free: 6.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.6004, allocations: 206.9 kB / 0.629 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/0.6005, allocations: 43.98 kB / 0.6291 GB, free: 6.332 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.6005, allocations: 4 kB / 0.6291 GB, free: 6.328 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01202/0.6125, allocations: 4.355 MB / 0.6333 GB, free: 1.965 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.6126, allocations: 4 kB / 0.6333 GB, free: 1.961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005493/0.6181, allocations: 1.839 MB / 0.6351 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.6192, allocations: 195.6 kB / 0.6353 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/0.6404, allocations: 8.806 MB / 0.6439 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/0.6427, allocations: 195.1 kB / 0.6441 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/0.6431, allocations: 39.98 kB / 0.6442 GB, free: 6.742 MB / 446.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001094/0.6442, allocations: 316.9 kB / 0.6445 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.6447, allocations: 114.6 kB / 0.6446 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01372/0.6584, allocations: 4.291 MB / 0.6488 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.6585, allocations: 8 kB / 0.6488 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.6585, allocations: 3.938 kB / 0.6488 GB, free: 1.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.305e-05/0.6585, allocations: 3.984 kB / 0.6488 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01691/0.6754, allocations: 5.738 MB / 0.6544 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.6755, allocations: 3.984 kB / 0.6544 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008362/0.6764, allocations: 111.9 kB / 0.6545 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006265/0.6826, allocations: 1.8 MB / 0.6562 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/0.6829, allocations: 19.94 kB / 0.6563 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/0.7026, allocations: 7.819 MB / 0.6639 GB, free: 2.238 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7027, allocations: 3.984 kB / 0.6639 GB, free: 2.234 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01576/0.7185, allocations: 5.256 MB / 0.669 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.7191, allocations: 203.5 kB / 0.6692 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004506/0.7196, allocations: 20 kB / 0.6692 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.721, allocations: 135.9 kB / 0.6694 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007741/0.7218, allocations: 184.5 kB / 0.6696 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.722, allocations: 28.11 kB / 0.6696 GB, free: 12.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00115/0.7231, allocations: 0.5995 MB / 0.6702 GB, free: 11.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7231, allocations: 0 / 0.6702 GB, free: 11.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002824/0.726, allocations: 0.6514 MB / 0.6708 GB, free: 11.12 MB / 478.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(21,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01666/0.7426, allocations: 5.831 MB / 0.6765 GB, free: 5.254 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01349/0.7562, allocations: 4.347 MB / 0.6807 GB, free: 0.8828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/0.7563, allocations: 4 kB / 0.6807 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005196/0.7615, allocations: 1.658 MB / 0.6824 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.763, allocations: 92.3 kB / 0.6825 GB, free: 15.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04436/0.8074, allocations: 17.1 MB / 0.6992 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/0.8084, allocations: 1.101 MB / 0.7002 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007942/0.8092, allocations: 130.4 kB / 0.7004 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007025/0.8099, allocations: 415.3 kB / 0.7007 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of SimCode: time 7.61e-07/0.8099, allocations: 0 / 0.7007 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06813/0.8781, allocations: 36.07 MB / 0.736 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.8783, allocations: 225.4 kB / 0.7362 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.807, allocations: 0 / 0.7362 GB, free: 7.824 MB / 0.5294 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)