Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.001095/0.001095, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.242/1.242, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.0008699, allocations: 89.36 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4564/0.4564, allocations: 78.04 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.219e-05, allocations: 7.984 kB / 491.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3483, allocations: 69.34 MB / 0.548 GB, free: 20.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4682, allocations: 96.87 MB / 0.6426 GB, free: 3.535 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4685, allocations: 75.97 kB / 0.6427 GB, free: 3.461 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05695/0.5254, allocations: 21.44 MB / 0.6637 GB, free: 13.87 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5255, allocations: 4 kB / 0.6637 GB, free: 13.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.078e-05/0.5255, allocations: 16 kB / 0.6637 GB, free: 13.85 MB / 490.7 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.003966/0.5295, allocations: 1.477 MB / 0.6651 GB, free: 12.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5296, allocations: 15.97 kB / 0.6651 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.5297, allocations: 106.5 kB / 0.6652 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.5324, allocations: 474.1 kB / 0.6657 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009605/0.5334, allocations: 0.5813 MB / 0.6663 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.5336, allocations: 180.1 kB / 0.6664 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.5337, allocations: 63.94 kB / 0.6665 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.535, allocations: 0.7328 MB / 0.6672 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5351, allocations: 0 / 0.6672 GB, free: 10.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.88e-05/0.5352, allocations: 24 kB / 0.6672 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.5352, allocations: 16 kB / 0.6672 GB, free: 10.06 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5364, allocations: 0.7354 MB / 0.668 GB, free: 9.328 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.00426/0.5407, allocations: 2.49 MB / 0.6704 GB, free: 6.734 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.542, allocations: 0.974 MB / 0.6713 GB, free: 5.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007553/0.5428, allocations: 0.5114 MB / 0.6718 GB, free: 5.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.5429, allocations: 12.78 kB / 0.6719 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.5429, allocations: 43.34 kB / 0.6719 GB, free: 5.098 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 4.088e-06/0.543, allocations: 0 / 0.6719 GB, free: 5.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.01109/0.5541, allocations: 3.516 MB / 0.6753 GB, free: 1.566 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.5542, allocations: 64.19 kB / 0.6754 GB, free: 1.492 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.5552, allocations: 0.6415 MB / 0.676 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002192/0.5554, allocations: 37.7 kB / 0.676 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.5558, allocations: 408.8 kB / 0.6764 GB, free: 404 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003183/0.5561, allocations: 291.6 kB / 0.6767 GB, free: 108 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.5562, allocations: 16 kB / 0.6767 GB, free: 92 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.3282/0.8844, allocations: 334 kB / 0.6771 GB, free: 107.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.8857, allocations: 383.9 kB / 0.6774 GB, free: 107.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008339/0.8866, allocations: 478 kB / 0.6779 GB, free: 107.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008333/0.8874, allocations: 426.9 kB / 0.6783 GB, free: 107.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.8874, allocations: 0.9688 kB / 0.6783 GB, free: 107.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01276/0.9002, allocations: 3.589 MB / 0.6818 GB, free: 107.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.9003, allocations: 6.531 kB / 0.6818 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.9003, allocations: 2.094 kB / 0.6818 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006224/0.9065, allocations: 1.514 MB / 0.6833 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.9073, allocations: 114.2 kB / 0.6834 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.9199, allocations: 6.831 MB / 0.6901 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.9211, allocations: 157.3 kB / 0.6902 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-05/0.9212, allocations: 27.34 kB / 0.6902 GB, free: 105 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 protected = true ) type: Real mixed.x:VARIABLE(start = (-mixed.v_0) / mixed.Tfv 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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.0002172/0.9214, allocations: 145.9 kB / 0.6904 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.9216, allocations: 96.88 kB / 0.6905 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009923/0.9315, allocations: 3.586 MB / 0.694 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/0.9316, allocations: 6.969 kB / 0.694 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.9316, allocations: 0 / 0.694 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.9316, allocations: 6.469 kB / 0.694 GB, free: 104 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01163/0.9432, allocations: 4.921 MB / 0.6988 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.9433, allocations: 0 / 0.6988 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/0.944, allocations: 97.53 kB / 0.6989 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004824/0.9488, allocations: 1.47 MB / 0.7003 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/0.949, allocations: 23.86 kB / 0.7003 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.9596, allocations: 5.898 MB / 0.7061 GB, free: 97.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9597, allocations: 0 / 0.7061 GB, free: 97.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/0.9708, allocations: 4.259 MB / 0.7103 GB, free: 94.14 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003939/0.9712, allocations: 187.4 kB / 0.7104 GB, free: 93.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.9713, allocations: 11.62 kB / 0.7104 GB, free: 93.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/0.9723, allocations: 125 kB / 0.7106 GB, free: 93.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005373/0.9728, allocations: 174.5 kB / 0.7107 GB, free: 93.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-05/0.9729, allocations: 23.23 kB / 0.7107 GB, free: 93.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005692/0.9735, allocations: 0.4947 MB / 0.7112 GB, free: 93.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9735, allocations: 0 / 0.7112 GB, free: 93.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001011/0.9745, allocations: 376 kB / 0.7116 GB, free: 92.92 MB / 490.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,mixed.x,mixed.y) * Number of discrete variables: 0 () * Number of discrete 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.01104/0.9855, allocations: 4.851 MB / 0.7163 GB, free: 88.81 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.9896, allocations: 1.731 MB / 0.718 GB, free: 87.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9896, allocations: 0 / 0.718 GB, free: 87.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003133/0.9927, allocations: 1.276 MB / 0.7193 GB, free: 86.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.9933, allocations: 67.11 kB / 0.7193 GB, free: 86.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.9962, allocations: 1.478 MB / 0.7208 GB, free: 84.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.9966, allocations: 1.045 MB / 0.7218 GB, free: 83.77 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.9969, allocations: 72.55 kB / 0.7219 GB, free: 83.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.9973, allocations: 352.6 kB / 0.7222 GB, free: 83.42 MB / 490.7 MB Notification: Performance of SimCode: time 1.001e-06/0.9973, allocations: 0 / 0.7222 GB, free: 83.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.039/1.036, allocations: 26.18 MB / 0.7478 GB, free: 58.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/1.037, allocations: 166.3 kB / 0.7479 GB, free: 57.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.518/3.554, allocations: 4 kB / 0.7479 GB, free: 57.84 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)