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.001501/0.001501, allocations: 174.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0008885/0.0008887, allocations: 90.06 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4586/0.4586, allocations: 78.94 MB / 410.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.841e-05, allocations: 0 / 486 MB, free: 11.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1457, allocations: 69.52 MB / 0.5425 GB, free: 5.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5769, allocations: 96.77 MB / 0.637 GB, free: 1.152 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.5772, allocations: 84.48 kB / 0.6371 GB, free: 1.07 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06093/0.6382, allocations: 21.39 MB / 0.658 GB, free: 11.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.6382, allocations: 0 / 0.658 GB, free: 11.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.597e-05/0.6383, allocations: 17.31 kB / 0.658 GB, free: 11.76 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.004459/0.6428, allocations: 1.477 MB / 0.6595 GB, free: 10.24 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6429, allocations: 12.59 kB / 0.6595 GB, free: 10.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002981/0.6459, allocations: 466.1 kB / 0.6599 GB, free: 9.77 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.6473, allocations: 0.5813 MB / 0.6605 GB, free: 9.148 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.6475, allocations: 168 kB / 0.6606 GB, free: 8.961 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.6478, allocations: 36 kB / 0.6607 GB, free: 8.926 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001615/0.6494, allocations: 0.7055 MB / 0.6614 GB, free: 8.219 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.6508, allocations: 0.6528 MB / 0.662 GB, free: 7.562 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.6508, allocations: 0 / 0.662 GB, free: 7.562 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.017e-05/0.6509, allocations: 0 / 0.662 GB, free: 7.562 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.6509, allocations: 12 kB / 0.662 GB, free: 7.551 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.005157/0.6561, allocations: 2.367 MB / 0.6643 GB, free: 5.094 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.6578, allocations: 0.9538 MB / 0.6653 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009025/0.6587, allocations: 497.8 kB / 0.6657 GB, free: 3.566 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.6588, allocations: 20.75 kB / 0.6658 GB, free: 3.547 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.6589, allocations: 35.34 kB / 0.6658 GB, free: 3.504 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 4.719e-06/0.6589, allocations: 4 kB / 0.6658 GB, free: 3.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.01151/0.6704, allocations: 3.463 MB / 0.6692 GB, free: 24 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.6705, allocations: 60.19 kB / 0.6692 GB, free: 15.95 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.6715, allocations: 0.5789 MB / 0.6698 GB, free: 15.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001669/0.6717, allocations: 29.69 kB / 0.6698 GB, free: 15.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003234/0.6721, allocations: 408.8 kB / 0.6702 GB, free: 14.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.6724, allocations: 283.7 kB / 0.6705 GB, free: 14.65 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.837e-05/0.6725, allocations: 0.5625 kB / 0.6705 GB, free: 14.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.6726, allocations: 334 kB / 0.6708 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.6733, allocations: 373.5 kB / 0.6712 GB, free: 13.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/0.674, allocations: 453.8 kB / 0.6716 GB, free: 13.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.6747, allocations: 418 kB / 0.672 GB, free: 13.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.6747, allocations: 0 / 0.672 GB, free: 13.08 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01092/0.6857, allocations: 3.517 MB / 0.6754 GB, free: 9.547 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.6857, allocations: 7.984 kB / 0.6754 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6857, allocations: 0 / 0.6754 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005393/0.6911, allocations: 1.477 MB / 0.6769 GB, free: 8.059 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/0.6919, allocations: 123.8 kB / 0.677 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.7058, allocations: 6.624 MB / 0.6835 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.7071, allocations: 147.3 kB / 0.6836 GB, free: 1.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/0.7073, allocations: 27.98 kB / 0.6836 GB, free: 1.016 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.0003607/0.7077, allocations: 118.4 kB / 0.6837 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0109/0.7186, allocations: 3.461 MB / 0.6871 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005177/0.7192, allocations: 102.7 kB / 0.6872 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.7302, allocations: 3.493 MB / 0.6906 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.7302, allocations: 11.98 kB / 0.6906 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.7303, allocations: 3.953 kB / 0.6906 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.026e-05/0.7303, allocations: 3.984 kB / 0.6906 GB, free: 9.781 MB / 0.4948 GB 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.01288/0.7432, allocations: 4.762 MB / 0.6953 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.7432, allocations: 0 / 0.6953 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/0.7439, allocations: 107.9 kB / 0.6954 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005043/0.7489, allocations: 1.456 MB / 0.6968 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.7491, allocations: 4 kB / 0.6968 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01193/0.761, allocations: 5.772 MB / 0.7025 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-06/0.761, allocations: 4.125 kB / 0.7025 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/0.7729, allocations: 4.171 MB / 0.7065 GB, free: 9.266 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.7733, allocations: 192.4 kB / 0.7067 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.7736, allocations: 3.938 kB / 0.7067 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7746, allocations: 111.9 kB / 0.7068 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005462/0.7752, allocations: 164.5 kB / 0.707 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.557e-05/0.7753, allocations: 23.98 kB / 0.707 GB, free: 8.762 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006934/0.776, allocations: 463.1 kB / 0.7075 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.776, allocations: 0 / 0.7075 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001301/0.7773, allocations: 335.5 kB / 0.7078 GB, free: 7.988 MB / 0.5105 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 () * 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.01234/0.7897, allocations: 4.775 MB / 0.7124 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004466/0.7942, allocations: 1.671 MB / 0.7141 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7942, allocations: 0 / 0.7141 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003424/0.7976, allocations: 1.234 MB / 0.7153 GB, free: 248 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.7984, allocations: 51.95 kB / 0.7153 GB, free: 196 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004345/0.8028, allocations: 1.408 MB / 0.7167 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/0.8037, allocations: 1.052 MB / 0.7177 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.8041, allocations: 76.88 kB / 0.7178 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.8046, allocations: 351.3 kB / 0.7181 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of SimCode: time 5.11e-07/0.8046, allocations: 1.781 kB / 0.7181 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06506/0.8696, allocations: 24.45 MB / 0.742 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.8701, allocations: 130.5 kB / 0.7421 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/3.658, allocations: 0 / 0.7421 GB, free: 4.871 MB / 0.5417 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)