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/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.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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008493, allocations: 90.52 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.169/1.169, allocations: 223.2 MB / 239.3 MB, free: 5.523 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.000829/0.0008289, allocations: 180.5 kB / 290.6 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4097/0.4097, allocations: 78.55 MB / 420.3 MB, free: 4.258 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 8 kB / 0.4888 GB, free: 5.965 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 69.36 MB / 0.5565 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad): time 0.1878/0.2953, allocations: 5.685 MB / 0.562 GB, free: 36.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.2985, allocations: 1.899 MB / 0.5639 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001055/0.2996, allocations: 11.31 kB / 0.5639 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.3002, allocations: 160.2 kB / 0.5641 GB, free: 35.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.3017, allocations: 0.5847 MB / 0.5646 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3028, allocations: 0.5898 MB / 0.5652 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009017/0.3037, allocations: 1.227 MB / 0.5664 GB, free: 34.95 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.3041, allocations: 295.3 kB / 0.5667 GB, free: 34.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.3044, allocations: 469.3 kB / 0.5671 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004637/0.3049, allocations: 0.6027 MB / 0.5677 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.305, allocations: 49.72 kB / 0.5678 GB, free: 34.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.3053, allocations: 183.7 kB / 0.5679 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.3055, allocations: 224.1 kB / 0.5682 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003022/0.3058, allocations: 0.5441 MB / 0.5687 GB, free: 34.24 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008144/0.3066, allocations: 1.354 MB / 0.57 GB, free: 33.9 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3066, allocations: 0.7188 kB / 0.57 GB, free: 33.9 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3066, allocations: 1.875 kB / 0.57 GB, free: 33.9 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3066, allocations: 0.625 kB / 0.57 GB, free: 33.9 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.005724/0.3124, allocations: 2.188 MB / 0.5721 GB, free: 33.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3124, allocations: 7.969 kB / 0.5722 GB, free: 33.08 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.3126, allocations: 124.4 kB / 0.5723 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.3163, allocations: 0.6712 MB / 0.5729 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008354/0.3171, allocations: 0.7483 MB / 0.5737 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.3173, allocations: 223.7 kB / 0.5739 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.3174, allocations: 77.33 kB / 0.5739 GB, free: 32.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/0.3193, allocations: 1.173 MB / 0.5751 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3194, allocations: 4 kB / 0.5751 GB, free: 32.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.3195, allocations: 29.19 kB / 0.5751 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.3195, allocations: 20.19 kB / 0.5751 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.3215, allocations: 1.125 MB / 0.5762 GB, free: 32.25 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.00406/0.3256, allocations: 3.033 MB / 0.5792 GB, free: 31.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.3276, allocations: 1.351 MB / 0.5805 GB, free: 30.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.3289, allocations: 0.7769 MB / 0.5813 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.41e-05/0.3289, allocations: 11.69 kB / 0.5813 GB, free: 30.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.329, allocations: 51.81 kB / 0.5813 GB, free: 30.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=89): time 3.066e-06/0.329, allocations: 0.75 kB / 0.5813 GB, free: 30.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=89): time 0.02349/0.3525, allocations: 7.603 MB / 0.5888 GB, free: 29.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.3525, allocations: 87.02 kB / 0.5889 GB, free: 29.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3536, allocations: 0.896 MB / 0.5897 GB, free: 28.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.3538, allocations: 40.45 kB / 0.5898 GB, free: 28.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.354, allocations: 463.3 kB / 0.5902 GB, free: 28.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002426/0.3543, allocations: 326 kB / 0.5905 GB, free: 28.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.3544, allocations: 105.5 kB / 0.5906 GB, free: 28.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.397e-05/0.3545, allocations: 352.9 kB / 0.591 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.356, allocations: 0.7404 MB / 0.5917 GB, free: 27.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.3575, allocations: 0.874 MB / 0.5925 GB, free: 27.17 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/0.3605, allocations: 1.614 MB / 0.5941 GB, free: 26.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3605, allocations: 0 / 0.5941 GB, free: 26.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.01246/0.373, allocations: 4.607 MB / 0.5986 GB, free: 25.45 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.3731, allocations: 157.7 kB / 0.5988 GB, free: 25.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3731, allocations: 4.047 kB / 0.5988 GB, free: 25.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005787/0.3789, allocations: 1.848 MB / 0.6006 GB, free: 24.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008752/0.3798, allocations: 192.8 kB / 0.6008 GB, free: 24.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01906/0.3989, allocations: 9.117 MB / 0.6097 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.4002, allocations: 205.7 kB / 0.6098 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/0.4004, allocations: 38.39 kB / 0.6099 GB, free: 20.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.4004, allocations: 4.125 kB / 0.6099 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0118/0.4122, allocations: 4.379 MB / 0.6142 GB, free: 18.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4122, allocations: 1.625 kB / 0.6142 GB, free: 18.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004981/0.4172, allocations: 1.83 MB / 0.616 GB, free: 16.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/0.418, allocations: 199.8 kB / 0.6161 GB, free: 16.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01586/0.4339, allocations: 8.793 MB / 0.6247 GB, free: 7.488 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.4352, allocations: 191.1 kB / 0.6249 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.4354, allocations: 35.98 kB / 0.6249 GB, free: 7.266 MB / 430.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.0005336/0.4359, allocations: 327.4 kB / 0.6253 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.4361, allocations: 114.6 kB / 0.6254 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.4469, allocations: 4.285 MB / 0.6296 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.4469, allocations: 8 kB / 0.6296 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4469, allocations: 4.812 kB / 0.6296 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.447, allocations: 3.984 kB / 0.6296 GB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.46, allocations: 5.742 MB / 0.6352 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.46, allocations: 0 / 0.6352 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.4606, allocations: 123.9 kB / 0.6353 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005376/0.466, allocations: 1.793 MB / 0.637 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.4661, allocations: 21.11 kB / 0.6371 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/0.4827, allocations: 7.818 MB / 0.6447 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4828, allocations: 1.5 kB / 0.6447 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/0.4965, allocations: 5.263 MB / 0.6498 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.4969, allocations: 195.5 kB / 0.65 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/0.4971, allocations: 16 kB / 0.65 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.4982, allocations: 141 kB / 0.6502 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005623/0.4987, allocations: 180.7 kB / 0.6504 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.4988, allocations: 24 kB / 0.6504 GB, free: 12.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008161/0.4996, allocations: 0.6034 MB / 0.651 GB, free: 12.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4996, allocations: 0 / 0.651 GB, free: 12.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001815/0.5015, allocations: 0.6475 MB / 0.6516 GB, free: 11.64 MB / 462.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.01427/0.5157, allocations: 5.84 MB / 0.6573 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01106/0.5268, allocations: 4.344 MB / 0.6615 GB, free: 1.406 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5269, allocations: 0 / 0.6615 GB, free: 1.406 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004417/0.5313, allocations: 1.661 MB / 0.6632 GB, free: 15.74 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.5324, allocations: 98.23 kB / 0.6633 GB, free: 15.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03788/0.5703, allocations: 17.11 MB / 0.68 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.571, allocations: 1.093 MB / 0.681 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005592/0.5716, allocations: 134.6 kB / 0.6812 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005019/0.5721, allocations: 411.3 kB / 0.6816 GB, free: 12.53 MB / 494.1 MB Notification: Performance of SimCode: time 7.92e-07/0.5721, allocations: 4 kB / 0.6816 GB, free: 12.53 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05784/0.6299, allocations: 36.06 MB / 0.7168 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/0.6302, allocations: 216.7 kB / 0.717 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/2.942, allocations: 0 / 0.717 GB, free: 8.57 MB / 0.5137 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/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)