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.001444/0.001444, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.3 MB / 213.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009423/0.0009428, allocations: 86.7 kB / 261.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06689/0.06689, allocations: 12.2 MB / 321.6 MB, free: 15.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4555/0.4555, allocations: 78.06 MB / 450.3 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.114e-05/2.118e-05, allocations: 2.625 kB / 0.5142 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1817, allocations: 69.25 MB / 0.5819 GB, free: 1.258 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.3353, allocations: 97.68 MB / 0.6773 GB, free: 15.45 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.3356, allocations: 79.95 kB / 0.6773 GB, free: 15.37 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4281/0.7638, allocations: 20.55 MB / 0.6974 GB, free: 96.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.7638, allocations: 0.9375 kB / 0.6974 GB, free: 96.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.198e-05/0.7639, allocations: 17.94 kB / 0.6974 GB, free: 96.96 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.004163/0.7681, allocations: 1.474 MB / 0.6989 GB, free: 96.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.7681, allocations: 9.125 kB / 0.6989 GB, free: 96.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.7709, allocations: 467.6 kB / 0.6993 GB, free: 96.24 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.772, allocations: 0.5875 MB / 0.6999 GB, free: 95.95 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.7723, allocations: 163 kB / 0.7 GB, free: 95.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.7724, allocations: 36.88 kB / 0.7001 GB, free: 95.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001611/0.774, allocations: 0.7064 MB / 0.7008 GB, free: 95.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.7754, allocations: 0.6482 MB / 0.7014 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.7755, allocations: 3.844 kB / 0.7014 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.46e-05/0.7755, allocations: 0.6562 kB / 0.7014 GB, free: 95.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.7756, allocations: 15.12 kB / 0.7014 GB, free: 95.77 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 preOpt removeSimpleEquations (simulation): time 0.004701/0.7803, allocations: 2.37 MB / 0.7037 GB, free: 95.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.7817, allocations: 0.946 MB / 0.7047 GB, free: 94.75 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008044/0.7826, allocations: 499.4 kB / 0.7051 GB, free: 94.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.7827, allocations: 16.53 kB / 0.7051 GB, free: 94.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.7827, allocations: 45.91 kB / 0.7052 GB, free: 94.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 3.266e-06/0.7827, allocations: 3.938 kB / 0.7052 GB, free: 94.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.01129/0.794, allocations: 3.457 MB / 0.7086 GB, free: 94.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.7941, allocations: 59.94 kB / 0.7086 GB, free: 94.38 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007615/0.7949, allocations: 0.5833 MB / 0.7092 GB, free: 94.26 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.89e-05/0.795, allocations: 25.7 kB / 0.7092 GB, free: 94.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.7952, allocations: 411.4 kB / 0.7096 GB, free: 94.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002327/0.7954, allocations: 283.3 kB / 0.7099 GB, free: 93.89 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.7955, allocations: 0 / 0.7099 GB, free: 93.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.7956, allocations: 333.5 kB / 0.7102 GB, free: 93.58 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.7961, allocations: 372.1 kB / 0.7106 GB, free: 93.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005516/0.7967, allocations: 455.2 kB / 0.711 GB, free: 93.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005614/0.7972, allocations: 416.1 kB / 0.7114 GB, free: 93.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.7972, allocations: 0 / 0.7114 GB, free: 93.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.009656/0.8069, allocations: 3.522 MB / 0.7148 GB, free: 92.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.807, allocations: 7 kB / 0.7148 GB, free: 92.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.807, allocations: 5.781 kB / 0.7148 GB, free: 92.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004836/0.8118, allocations: 1.473 MB / 0.7163 GB, free: 92.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/0.8124, allocations: 124.2 kB / 0.7164 GB, free: 92.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.8243, allocations: 6.635 MB / 0.7229 GB, free: 87.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.8257, allocations: 149.7 kB / 0.723 GB, free: 87.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/0.8259, allocations: 27.84 kB / 0.723 GB, free: 87.49 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.0003091/0.8262, allocations: 112.3 kB / 0.7232 GB, free: 87.38 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009648/0.8359, allocations: 3.463 MB / 0.7265 GB, free: 84.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/0.8362, allocations: 94.78 kB / 0.7266 GB, free: 84.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009409/0.8457, allocations: 3.503 MB / 0.73 GB, free: 80.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.8457, allocations: 11.94 kB / 0.7301 GB, free: 80.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.8457, allocations: 0 / 0.7301 GB, free: 80.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.8457, allocations: 3.984 kB / 0.7301 GB, free: 80.77 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.01137/0.8571, allocations: 4.761 MB / 0.7347 GB, free: 75.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.8571, allocations: 0 / 0.7347 GB, free: 75.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005818/0.8577, allocations: 115.8 kB / 0.7348 GB, free: 75.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004546/0.8623, allocations: 1.449 MB / 0.7362 GB, free: 74.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.8624, allocations: 4 kB / 0.7362 GB, free: 74.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01019/0.8726, allocations: 5.774 MB / 0.7419 GB, free: 68.47 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.8726, allocations: 0 / 0.7419 GB, free: 68.47 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/0.8832, allocations: 4.185 MB / 0.746 GB, free: 64.27 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.8837, allocations: 187.7 kB / 0.7461 GB, free: 64.06 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/0.8841, allocations: 0 / 0.7461 GB, free: 64.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/0.8852, allocations: 103.9 kB / 0.7462 GB, free: 63.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005449/0.8858, allocations: 176.4 kB / 0.7464 GB, free: 63.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/0.8859, allocations: 20 kB / 0.7464 GB, free: 63.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006338/0.8865, allocations: 459.1 kB / 0.7469 GB, free: 63.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8865, allocations: 0 / 0.7469 GB, free: 63.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001347/0.8879, allocations: 335.5 kB / 0.7472 GB, free: 63 MB / 474.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.01077/0.8987, allocations: 4.77 MB / 0.7518 GB, free: 58.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004095/0.9028, allocations: 1.679 MB / 0.7535 GB, free: 56.51 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9028, allocations: 0 / 0.7535 GB, free: 56.51 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003098/0.9059, allocations: 1.232 MB / 0.7547 GB, free: 55.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008187/0.9067, allocations: 55.25 kB / 0.7547 GB, free: 55.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/0.9108, allocations: 1.412 MB / 0.7561 GB, free: 53.77 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.9113, allocations: 1.041 MB / 0.7571 GB, free: 52.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003382/0.9117, allocations: 79.89 kB / 0.7572 GB, free: 52.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.9121, allocations: 347.3 kB / 0.7575 GB, free: 52.29 MB / 474.7 MB Notification: Performance of SimCode: time 1.182e-06/0.9121, allocations: 0 / 0.7575 GB, free: 52.29 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04717/0.9593, allocations: 24.46 MB / 0.7814 GB, free: 27.95 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.9595, allocations: 123.9 kB / 0.7815 GB, free: 27.76 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.619, allocations: 0 / 0.7815 GB, free: 27.76 MB / 474.7 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)