Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_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.008749/0.00875, allocations: 171.5 kB / 15.12 MB, free: 5.973 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.467/1.467, allocations: 223.2 MB / 239 MB, free: 1.801 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.0008928/0.0008928, allocations: 96.17 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5317/0.5317, allocations: 79.45 MB / 420.8 MB, free: 43.72 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003968, allocations: 8 kB / 0.4891 GB, free: 1.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5169/0.5174, allocations: 69.5 MB / 0.557 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.657, allocations: 97.52 MB / 0.6522 GB, free: 8.066 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.6572, allocations: 79.95 kB / 0.6523 GB, free: 7.988 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05975/0.717, allocations: 21.75 MB / 0.6735 GB, free: 2.133 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.7171, allocations: 0 / 0.6735 GB, free: 2.133 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.183e-05/0.7171, allocations: 16 kB / 0.6736 GB, free: 2.117 MB / 474.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.004475/0.7216, allocations: 1.666 MB / 0.6752 GB, free: 404 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.7217, allocations: 8.031 kB / 0.6752 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.7218, allocations: 110.5 kB / 0.6753 GB, free: 276 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/0.7245, allocations: 466.2 kB / 0.6757 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.7255, allocations: 0.5891 MB / 0.6763 GB, free: 15.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.7257, allocations: 184 kB / 0.6765 GB, free: 14.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.7259, allocations: 60 kB / 0.6766 GB, free: 14.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.7278, allocations: 0.9395 MB / 0.6775 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.7278, allocations: 0 / 0.6775 GB, free: 13.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.7279, allocations: 28 kB / 0.6775 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.728, allocations: 19.94 kB / 0.6775 GB, free: 13.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.7299, allocations: 0.989 MB / 0.6785 GB, free: 12.93 MB / 490.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.004421/0.7344, allocations: 2.487 MB / 0.6809 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/0.7364, allocations: 1.196 MB / 0.6821 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-05/0.7365, allocations: 12.98 kB / 0.6821 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.7365, allocations: 43.56 kB / 0.6821 GB, free: 9.008 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.835e-06/0.7365, allocations: 0 / 0.6821 GB, free: 9.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.0228/0.7593, allocations: 6.555 MB / 0.6885 GB, free: 2.422 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/0.7594, allocations: 60.41 kB / 0.6886 GB, free: 2.348 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.7605, allocations: 0.6414 MB / 0.6892 GB, free: 1.699 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.7607, allocations: 37.7 kB / 0.6893 GB, free: 1.656 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.7611, allocations: 416.6 kB / 0.6896 GB, free: 1.242 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003223/0.7614, allocations: 287.8 kB / 0.6899 GB, free: 0.957 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.7615, allocations: 12 kB / 0.6899 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.7616, allocations: 334 kB / 0.6903 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.7628, allocations: 0.5915 MB / 0.6908 GB, free: 24 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.7641, allocations: 0.6656 MB / 0.6915 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.7654, allocations: 0.6335 MB / 0.6921 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7655, allocations: 0 / 0.6921 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0124/0.7779, allocations: 4.154 MB / 0.6962 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.778, allocations: 8 kB / 0.6962 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.778, allocations: 0 / 0.6962 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00626/0.7842, allocations: 1.817 MB / 0.6979 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.785, allocations: 115.8 kB / 0.698 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/0.8049, allocations: 9.027 MB / 0.7069 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.8063, allocations: 163.2 kB / 0.707 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.777e-05/0.8064, allocations: 31.98 kB / 0.7071 GB, free: 15.23 MB / 0.5105 GB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(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 (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.0005276/0.8069, allocations: 219.6 kB / 0.7073 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.8071, allocations: 102.9 kB / 0.7074 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.819, allocations: 4.149 MB / 0.7114 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.819, allocations: 8 kB / 0.7114 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.8191, allocations: 0 / 0.7114 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/0.8191, allocations: 3.984 kB / 0.7114 GB, free: 10.73 MB / 0.5105 GB 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.01454/0.8336, allocations: 5.474 MB / 0.7168 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/0.8337, allocations: 0 / 0.7168 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.8345, allocations: 107.9 kB / 0.7169 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005902/0.8404, allocations: 1.773 MB / 0.7186 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001809/0.8406, allocations: 16 kB / 0.7186 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01737/0.858, allocations: 7.772 MB / 0.7262 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.858, allocations: 0 / 0.7262 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01471/0.8727, allocations: 5.037 MB / 0.7311 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/0.8735, allocations: 187.7 kB / 0.7313 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003629/0.8739, allocations: 15.95 kB / 0.7313 GB, free: 6.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.8751, allocations: 123.9 kB / 0.7314 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006885/0.8758, allocations: 164.7 kB / 0.7316 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.876, allocations: 27.97 kB / 0.7316 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009805/0.877, allocations: 0.5068 MB / 0.7321 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.877, allocations: 0 / 0.7321 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001695/0.8787, allocations: 371.6 kB / 0.7325 GB, free: 4.879 MB / 0.5261 GB 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.0154/0.8941, allocations: 5.626 MB / 0.738 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006432/0.9006, allocations: 2.175 MB / 0.7401 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.9006, allocations: 0 / 0.7401 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004757/0.9054, allocations: 1.502 MB / 0.7416 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.9067, allocations: 67.3 kB / 0.7416 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/0.9307, allocations: 10.59 MB / 0.752 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007925/0.9316, allocations: 1.044 MB / 0.753 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005046/0.9321, allocations: 72.92 kB / 0.753 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005724/0.9327, allocations: 351.3 kB / 0.7534 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of SimCode: time 1.383e-06/0.9327, allocations: 4 kB / 0.7534 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4102/1.343, allocations: 26.24 MB / 0.779 GB, free: 150.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/1.343, allocations: 186 kB / 0.7792 GB, free: 149.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/4.197, allocations: 2.438 kB / 0.7792 GB, free: 149.9 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)