Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1093/0.1093, allocations: 12.2 MB / 27.18 MB, free: 104 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 108.5 kB / 30.68 MB, free: 6.395 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.4 MB / 239.5 MB, free: 10.7 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.001458/0.001458, allocations: 188.3 kB / 290.6 MB, free: 8.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4784/0.4784, allocations: 78.54 MB / 420.1 MB, free: 6.57 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009159/0.000916, allocations: 30.59 kB / 0.4895 GB, free: 37.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1609, allocations: 69.25 MB / 0.5572 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.006069/0.1671, allocations: 4.923 MB / 0.562 GB, free: 3.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003711/0.1708, allocations: 1.546 MB / 0.5635 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009769/0.1718, allocations: 8 kB / 0.5635 GB, free: 2.219 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.1725, allocations: 135 kB / 0.5636 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.1745, allocations: 0.5245 MB / 0.5641 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1757, allocations: 434.7 kB / 0.5646 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001548/0.1772, allocations: 0.9924 MB / 0.5655 GB, free: 148 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005843/0.1778, allocations: 215 kB / 0.5657 GB, free: 15.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008665/0.1787, allocations: 402.2 kB / 0.5661 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.1797, allocations: 0.5484 MB / 0.5667 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003359/0.1801, allocations: 44 kB / 0.5667 GB, free: 14.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.1808, allocations: 171.8 kB / 0.5669 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.1812, allocations: 187.1 kB / 0.567 GB, free: 14.58 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.1815, allocations: 185.1 kB / 0.5672 GB, free: 14.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.1825, allocations: 0.9234 MB / 0.5681 GB, free: 13.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1825, allocations: 4 kB / 0.5681 GB, free: 13.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1825, allocations: 0 / 0.5681 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.1825, allocations: 0 / 0.5681 GB, free: 13.46 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006312/0.1889, allocations: 2.049 MB / 0.5701 GB, free: 11.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.1889, allocations: 11.98 kB / 0.5701 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.1891, allocations: 110.5 kB / 0.5702 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003992/0.1931, allocations: 0.6464 MB / 0.5709 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.1945, allocations: 0.6277 MB / 0.5715 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/0.1947, allocations: 180.1 kB / 0.5717 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.1949, allocations: 64 kB / 0.5717 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.1971, allocations: 0.9434 MB / 0.5726 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.1971, allocations: 7.938 kB / 0.5726 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.31e-05/0.1972, allocations: 24 kB / 0.5727 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1972, allocations: 16 kB / 0.5727 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.1994, allocations: 0.9967 MB / 0.5737 GB, free: 7.66 MB / 398.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.004812/0.2042, allocations: 2.537 MB / 0.5761 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.2063, allocations: 1.193 MB / 0.5773 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.2077, allocations: 0.7226 MB / 0.578 GB, free: 3.016 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.2079, allocations: 12.98 kB / 0.578 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.2079, allocations: 43.56 kB / 0.5781 GB, free: 2.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 3.928e-06/0.2079, allocations: 0 / 0.5781 GB, free: 2.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02215/0.2301, allocations: 6.681 MB / 0.5846 GB, free: 12.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.2302, allocations: 60.41 kB / 0.5846 GB, free: 12.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.2316, allocations: 0.7552 MB / 0.5854 GB, free: 11.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.2318, allocations: 41.7 kB / 0.5854 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.2322, allocations: 404.7 kB / 0.5858 GB, free: 10.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.2327, allocations: 291.8 kB / 0.5861 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.2328, allocations: 23.94 kB / 0.5861 GB, free: 10.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.233, allocations: 345.9 kB / 0.5864 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.2345, allocations: 0.6819 MB / 0.5871 GB, free: 9.617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.2361, allocations: 0.7974 MB / 0.5879 GB, free: 8.793 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.2377, allocations: 0.7312 MB / 0.5886 GB, free: 8.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/0.2378, allocations: 7.953 kB / 0.5886 GB, free: 8.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0124/0.2502, allocations: 4.391 MB / 0.5929 GB, free: 3.645 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.2502, allocations: 4 kB / 0.5929 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.2502, allocations: 4 kB / 0.5929 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006024/0.2563, allocations: 1.832 MB / 0.5947 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009026/0.2572, allocations: 183.7 kB / 0.5949 GB, free: 1.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01959/0.2768, allocations: 8.615 MB / 0.6033 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.2783, allocations: 175.1 kB / 0.6034 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/0.2785, allocations: 35.98 kB / 0.6035 GB, free: 8.664 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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 {19 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007049/0.2792, allocations: 241.5 kB / 0.6037 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.2796, allocations: 102.7 kB / 0.6038 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01173/0.2913, allocations: 4.138 MB / 0.6078 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.2914, allocations: 8 kB / 0.6079 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2914, allocations: 3.953 kB / 0.6079 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.25e-05/0.2914, allocations: 3.984 kB / 0.6079 GB, free: 4.148 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 postOpt removeSimpleEquations (simulation): time 0.01446/0.3059, allocations: 5.51 MB / 0.6132 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.66e-05/0.3059, allocations: 7.938 kB / 0.6132 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.3066, allocations: 103.9 kB / 0.6133 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005802/0.3124, allocations: 1.784 MB / 0.6151 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.3126, allocations: 16 kB / 0.6151 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.3298, allocations: 7.393 MB / 0.6223 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.3298, allocations: 3.984 kB / 0.6223 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/0.3438, allocations: 5.08 MB / 0.6273 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.3443, allocations: 187.7 kB / 0.6275 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002996/0.3446, allocations: 12 kB / 0.6275 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.3457, allocations: 115.9 kB / 0.6276 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006363/0.3463, allocations: 172.7 kB / 0.6278 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.3465, allocations: 20 kB / 0.6278 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008813/0.3473, allocations: 0.5068 MB / 0.6283 GB, free: 14.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3474, allocations: 0 / 0.6283 GB, free: 14.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001556/0.3489, allocations: 383.7 kB / 0.6286 GB, free: 14.57 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,mixed.x,mixed.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 (49): * Single equations (assignments): 48 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01433/0.3633, allocations: 5.644 MB / 0.6341 GB, free: 8.887 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006288/0.3696, allocations: 2.367 MB / 0.6365 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.3696, allocations: 0 / 0.6365 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004164/0.3738, allocations: 1.507 MB / 0.6379 GB, free: 4.988 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.375, allocations: 71.31 kB / 0.638 GB, free: 4.922 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02428/0.3993, allocations: 9.783 MB / 0.6475 GB, free: 10.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000892/0.4003, allocations: 1.029 MB / 0.6486 GB, free: 9.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004904/0.4008, allocations: 89.62 kB / 0.6486 GB, free: 9.75 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006201/0.4014, allocations: 363.3 kB / 0.649 GB, free: 9.395 MB / 478.1 MB Notification: Performance of SimCode: time 2.916e-06/0.4015, allocations: 4 kB / 0.649 GB, free: 9.391 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3291/0.7305, allocations: 26.8 MB / 0.6752 GB, free: 92.1 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/0.7307, allocations: 196.6 kB / 0.6753 GB, free: 91.87 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/3.68, allocations: 0 / 0.6753 GB, free: 91.87 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1) Environment - environmentSimulation: