Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad,fileNamePrefix="OpenIPSL_release_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.001224/0.001224, allocations: 181.2 kB / 15.45 MB, free: 6.23 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.397/1.397, allocations: 223.2 MB / 239.5 MB, free: 1.621 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.0008105/0.0008106, allocations: 102.2 kB / 290.7 MB, free: 13.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4822/0.4822, allocations: 78.62 MB / 420.4 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 8 kB / 0.4889 GB, free: 2.418 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3447, allocations: 69.34 MB / 0.5566 GB, free: 39.03 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad): time 0.005798/0.3505, allocations: 5.686 MB / 0.5621 GB, free: 36.7 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004497/0.3551, allocations: 1.915 MB / 0.564 GB, free: 35.91 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.3564, allocations: 13.75 kB / 0.564 GB, free: 35.91 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000622/0.3571, allocations: 157.2 kB / 0.5642 GB, free: 35.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.3592, allocations: 0.5818 MB / 0.5647 GB, free: 35.57 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.3608, allocations: 0.5939 MB / 0.5653 GB, free: 35.46 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.3626, allocations: 1.227 MB / 0.5665 GB, free: 35.02 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.3631, allocations: 303.6 kB / 0.5668 GB, free: 34.86 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007763/0.3639, allocations: 465.9 kB / 0.5673 GB, free: 34.65 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006483/0.3646, allocations: 0.6102 MB / 0.5679 GB, free: 34.37 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.3647, allocations: 48.28 kB / 0.5679 GB, free: 34.37 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.3652, allocations: 186.8 kB / 0.5681 GB, free: 34.32 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001711/0.3653, allocations: 218.6 kB / 0.5683 GB, free: 34.2 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004083/0.3658, allocations: 0.5386 MB / 0.5688 GB, free: 33.82 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.3668, allocations: 1.363 MB / 0.5701 GB, free: 33.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3668, allocations: 4 kB / 0.5701 GB, free: 33.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3668, allocations: 0 / 0.5701 GB, free: 33.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.3668, allocations: 0 / 0.5701 GB, free: 33.3 MB / 426.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.005823/0.3727, allocations: 2.187 MB / 0.5723 GB, free: 32.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3727, allocations: 11.5 kB / 0.5723 GB, free: 32.32 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002422/0.373, allocations: 119.9 kB / 0.5724 GB, free: 32.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003908/0.3769, allocations: 0.6697 MB / 0.5731 GB, free: 32.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.378, allocations: 0.7461 MB / 0.5738 GB, free: 31.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.3782, allocations: 220 kB / 0.574 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3783, allocations: 73.84 kB / 0.5741 GB, free: 31.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.3804, allocations: 1.175 MB / 0.5752 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3804, allocations: 0 / 0.5752 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.943e-05/0.3805, allocations: 36.41 kB / 0.5753 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.3805, allocations: 17.56 kB / 0.5753 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.3826, allocations: 1.122 MB / 0.5764 GB, free: 30.55 MB / 426.7 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.004493/0.3871, allocations: 3.029 MB / 0.5793 GB, free: 28.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.3891, allocations: 1.353 MB / 0.5806 GB, free: 28.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.3905, allocations: 0.7815 MB / 0.5814 GB, free: 27.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.3906, allocations: 16.67 kB / 0.5814 GB, free: 27.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3906, allocations: 42.47 kB / 0.5815 GB, free: 27.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=89): time 3.045e-06/0.3906, allocations: 0 / 0.5815 GB, free: 27.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=89): time 0.02306/0.4137, allocations: 7.597 MB / 0.5889 GB, free: 26.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.4138, allocations: 86.92 kB / 0.589 GB, free: 26.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.4152, allocations: 0.8955 MB / 0.5898 GB, free: 26.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002268/0.4154, allocations: 44.77 kB / 0.5899 GB, free: 26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.4157, allocations: 476 kB / 0.5903 GB, free: 25.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.416, allocations: 324.5 kB / 0.5906 GB, free: 25.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.4161, allocations: 105.8 kB / 0.5907 GB, free: 25.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.964e-05/0.4162, allocations: 344.6 kB / 0.5911 GB, free: 24.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.4178, allocations: 0.7444 MB / 0.5918 GB, free: 24.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.4194, allocations: 0.8821 MB / 0.5927 GB, free: 24.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003066/0.4224, allocations: 1.604 MB / 0.5942 GB, free: 23.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4225, allocations: 1.438 kB / 0.5942 GB, free: 23.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.013/0.4355, allocations: 4.607 MB / 0.5987 GB, free: 22.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.962e-05/0.4356, allocations: 157.7 kB / 0.5989 GB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4356, allocations: 3.219 kB / 0.5989 GB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006029/0.4417, allocations: 1.844 MB / 0.6007 GB, free: 22.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4427, allocations: 201.3 kB / 0.6009 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02012/0.4629, allocations: 9.11 MB / 0.6098 GB, free: 18.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.4647, allocations: 210.2 kB / 0.61 GB, free: 18.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/0.465, allocations: 38.58 kB / 0.61 GB, free: 18.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.465, allocations: 8.594 kB / 0.61 GB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01174/0.4767, allocations: 4.372 MB / 0.6143 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.4768, allocations: 3.938 kB / 0.6143 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004999/0.4818, allocations: 1.833 MB / 0.6161 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009019/0.4827, allocations: 195.8 kB / 0.6163 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01604/0.4988, allocations: 8.799 MB / 0.6249 GB, free: 3.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.5001, allocations: 195.1 kB / 0.625 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.5003, allocations: 35.98 kB / 0.6251 GB, free: 3.418 MB / 426.7 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.00055/0.5009, allocations: 320.9 kB / 0.6254 GB, free: 3.094 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.5011, allocations: 110.6 kB / 0.6255 GB, free: 2.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.512, allocations: 4.284 MB / 0.6297 GB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.512, allocations: 8 kB / 0.6297 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.512, allocations: 3.938 kB / 0.6297 GB, free: 14.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.5121, allocations: 3.984 kB / 0.6297 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.5266, allocations: 5.757 MB / 0.6353 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.167e-05/0.5267, allocations: 0 / 0.6353 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000793/0.5275, allocations: 119.8 kB / 0.6354 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00547/0.533, allocations: 1.796 MB / 0.6372 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.5332, allocations: 19.98 kB / 0.6372 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/0.5504, allocations: 7.808 MB / 0.6448 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5504, allocations: 0 / 0.6448 GB, free: 14.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/0.5641, allocations: 5.26 MB / 0.65 GB, free: 9.625 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.5646, allocations: 195.5 kB / 0.6501 GB, free: 9.414 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002994/0.5649, allocations: 20.12 kB / 0.6502 GB, free: 9.395 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.566, allocations: 143.9 kB / 0.6503 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000662/0.5667, allocations: 184.7 kB / 0.6505 GB, free: 9.074 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.58e-05/0.5668, allocations: 20 kB / 0.6505 GB, free: 9.055 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009673/0.5677, allocations: 0.6034 MB / 0.6511 GB, free: 8.441 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5677, allocations: 0 / 0.6511 GB, free: 8.441 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002239/0.57, allocations: 0.6553 MB / 0.6517 GB, free: 7.785 MB / 458.7 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.01426/0.5843, allocations: 5.844 MB / 0.6574 GB, free: 1.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01196/0.5963, allocations: 4.348 MB / 0.6617 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.5963, allocations: 0 / 0.6617 GB, free: 13.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004526/0.6009, allocations: 1.654 MB / 0.6633 GB, free: 11.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.6022, allocations: 96.28 kB / 0.6634 GB, free: 11.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03881/0.641, allocations: 17.1 MB / 0.6801 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007594/0.6418, allocations: 1.093 MB / 0.6812 GB, free: 9.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007071/0.6426, allocations: 138.4 kB / 0.6813 GB, free: 9.039 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005863/0.6432, allocations: 411.3 kB / 0.6817 GB, free: 8.637 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6432, allocations: 4 kB / 0.6817 GB, free: 8.633 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06427/0.7075, allocations: 36.07 MB / 0.7169 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.7077, allocations: 222.6 kB / 0.7171 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.246/3.953, allocations: 0 / 0.7171 GB, free: 4.5 MB / 0.5105 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Loads_PSAT_LoadTestThLoad.fmu > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestThLoad.pipe 2>&1)