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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, 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 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009214/0.0009213, allocations: 93.58 kB / 266.6 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07498/0.07498, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2854/0.2854, allocations: 78.02 MB / 455.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.611e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1401, allocations: 69.24 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4495/0.5897, allocations: 98.35 MB / 0.685 GB, free: 1.891 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.59, allocations: 76.64 kB / 0.6851 GB, free: 1.852 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05325/0.6432, allocations: 20.83 MB / 0.7054 GB, free: 248 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6433, allocations: 0 / 0.7054 GB, free: 248 kB / 442.7 MB Notification: Performance of Transformations before backend: time 4.29e-05/0.6433, allocations: 21.31 kB / 0.7054 GB, free: 228 kB / 442.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.003623/0.6469, allocations: 1.479 MB / 0.7069 GB, free: 14.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.647, allocations: 11.98 kB / 0.7069 GB, free: 14.78 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/0.6472, allocations: 104.6 kB / 0.707 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.6497, allocations: 470.2 kB / 0.7074 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009049/0.6507, allocations: 0.5865 MB / 0.708 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.6508, allocations: 178.8 kB / 0.7082 GB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.651, allocations: 63.8 kB / 0.7082 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.6522, allocations: 0.7291 MB / 0.7089 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.6523, allocations: 4 kB / 0.7089 GB, free: 13.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.239e-05/0.6523, allocations: 24.94 kB / 0.709 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.6524, allocations: 19.98 kB / 0.709 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.6536, allocations: 0.7408 MB / 0.7097 GB, free: 12.58 MB / 458.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.004005/0.6576, allocations: 2.47 MB / 0.7121 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/0.6589, allocations: 0.9734 MB / 0.7131 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/0.6596, allocations: 0.5134 MB / 0.7136 GB, free: 9.555 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.6597, allocations: 20.7 kB / 0.7136 GB, free: 9.535 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.6598, allocations: 50.92 kB / 0.7136 GB, free: 9.484 MB / 458.7 MB Notification: Performance of pre-optimization done (n=83): time 2.956e-06/0.6598, allocations: 0 / 0.7136 GB, free: 9.484 MB / 458.7 MB Notification: Performance of matching and sorting (n=83): time 0.01066/0.6704, allocations: 3.519 MB / 0.7171 GB, free: 6.453 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.6705, allocations: 60.19 kB / 0.7171 GB, free: 6.383 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009325/0.6715, allocations: 0.6333 MB / 0.7177 GB, free: 5.891 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.6716, allocations: 39.95 kB / 0.7178 GB, free: 5.855 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.6719, allocations: 408.8 kB / 0.7182 GB, free: 5.629 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.6722, allocations: 292.2 kB / 0.7185 GB, free: 5.375 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.6723, allocations: 16.94 kB / 0.7185 GB, free: 5.371 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6724, allocations: 337.5 kB / 0.7188 GB, free: 5.047 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/0.673, allocations: 384.7 kB / 0.7192 GB, free: 4.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.6737, allocations: 481.1 kB / 0.7196 GB, free: 4.527 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006989/0.6744, allocations: 423.1 kB / 0.72 GB, free: 4.285 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6744, allocations: 4 kB / 0.72 GB, free: 4.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01072/0.6852, allocations: 3.583 MB / 0.7235 GB, free: 1.203 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.6852, allocations: 8 kB / 0.7235 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6853, allocations: 3.953 kB / 0.7235 GB, free: 1.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005422/0.6907, allocations: 1.516 MB / 0.725 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.6914, allocations: 123.2 kB / 0.7251 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01311/0.7045, allocations: 6.814 MB / 0.7318 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.7058, allocations: 154.2 kB / 0.7319 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.68e-05/0.7058, allocations: 34.36 kB / 0.732 GB, free: 10.87 MB / 474.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.0002479/0.7061, allocations: 146.4 kB / 0.7321 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.7063, allocations: 98.78 kB / 0.7322 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.7167, allocations: 3.585 MB / 0.7357 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.7167, allocations: 15.89 kB / 0.7357 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.7167, allocations: 3.984 kB / 0.7357 GB, free: 7.598 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.7167, allocations: 3.984 kB / 0.7357 GB, free: 7.594 MB / 474.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.01197/0.7287, allocations: 4.904 MB / 0.7405 GB, free: 3.297 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.7288, allocations: 7.938 kB / 0.7405 GB, free: 3.289 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/0.7294, allocations: 111.8 kB / 0.7406 GB, free: 3.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004929/0.7343, allocations: 1.464 MB / 0.7421 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.7344, allocations: 15.98 kB / 0.7421 GB, free: 1.695 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.7458, allocations: 5.898 MB / 0.7478 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.7458, allocations: 3.938 kB / 0.7478 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/0.7573, allocations: 4.257 MB / 0.752 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.7577, allocations: 187.7 kB / 0.7522 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.7578, allocations: 16 kB / 0.7522 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008943/0.7587, allocations: 119.9 kB / 0.7523 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005409/0.7593, allocations: 164.5 kB / 0.7525 GB, free: 6.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.7594, allocations: 24 kB / 0.7525 GB, free: 6.852 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006415/0.76, allocations: 0.4953 MB / 0.753 GB, free: 6.359 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.76, allocations: 4 kB / 0.753 GB, free: 6.355 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001037/0.7611, allocations: 371.6 kB / 0.7533 GB, free: 5.992 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.01175/0.7728, allocations: 4.856 MB / 0.7581 GB, free: 1.102 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004325/0.7772, allocations: 1.738 MB / 0.7598 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7772, allocations: 0 / 0.7598 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003381/0.7806, allocations: 1.27 MB / 0.761 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000696/0.7813, allocations: 67.27 kB / 0.7611 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00295/0.7843, allocations: 1.496 MB / 0.7625 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.7849, allocations: 1.048 MB / 0.7636 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002921/0.7852, allocations: 68.94 kB / 0.7636 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004299/0.7856, allocations: 351.3 kB / 0.764 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of SimCode: time 9.91e-07/0.7856, allocations: 0 / 0.764 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04578/0.8314, allocations: 26.17 MB / 0.7895 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.8317, allocations: 170.6 kB / 0.7897 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.423, allocations: 0 / 0.7897 GB, free: 0.6797 MB / 0.5105 GB (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)