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.0009468/0.0009468, allocations: 174.6 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.209/1.209, allocations: 221.4 MB / 234.6 MB, free: 14.48 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.0008137/0.0008138, allocations: 95 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4373/0.4373, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.6e-05/3.602e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3538, allocations: 69.51 MB / 0.5492 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4719, allocations: 97.44 MB / 0.6444 GB, free: 2.152 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.4722, allocations: 71.97 kB / 0.6444 GB, free: 2.082 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05532/0.5275, allocations: 21.67 MB / 0.6656 GB, free: 12.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5275, allocations: 0 / 0.6656 GB, free: 12.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.884e-05/0.5276, allocations: 16 kB / 0.6656 GB, free: 12.24 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.003568/0.5312, allocations: 1.477 MB / 0.6671 GB, free: 10.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.5312, allocations: 15.97 kB / 0.6671 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001344/0.5314, allocations: 102.5 kB / 0.6672 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.5339, allocations: 466.1 kB / 0.6676 GB, free: 10.13 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008252/0.5347, allocations: 0.593 MB / 0.6682 GB, free: 9.496 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001712/0.5349, allocations: 176.1 kB / 0.6684 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.535, allocations: 60 kB / 0.6684 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.5363, allocations: 0.7327 MB / 0.6691 GB, free: 8.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.5364, allocations: 4 kB / 0.6691 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.706e-05/0.5364, allocations: 24 kB / 0.6692 GB, free: 8.473 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5365, allocations: 19.98 kB / 0.6692 GB, free: 8.453 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.5377, allocations: 0.7316 MB / 0.6699 GB, free: 7.723 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.004131/0.5419, allocations: 2.486 MB / 0.6723 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.5432, allocations: 0.9794 MB / 0.6733 GB, free: 4.074 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007384/0.5439, allocations: 0.5152 MB / 0.6738 GB, free: 3.551 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-05/0.5441, allocations: 12.78 kB / 0.6738 GB, free: 3.539 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5441, allocations: 39.34 kB / 0.6738 GB, free: 3.492 MB / 490.7 MB Notification: Performance of pre-optimization done (n=83): time 2.896e-06/0.5441, allocations: 0 / 0.6738 GB, free: 3.492 MB / 490.7 MB Notification: Performance of matching and sorting (n=83): time 0.3203/0.8644, allocations: 3.517 MB / 0.6773 GB, free: 106.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.8645, allocations: 61.19 kB / 0.6773 GB, free: 106.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/0.8661, allocations: 0.6304 MB / 0.6779 GB, free: 106.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.8664, allocations: 39.52 kB / 0.678 GB, free: 106.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.8667, allocations: 413.7 kB / 0.6784 GB, free: 106.6 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/0.867, allocations: 294.7 kB / 0.6787 GB, free: 106.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/0.867, allocations: 13.09 kB / 0.6787 GB, free: 106.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.8671, allocations: 335 kB / 0.679 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000863/0.868, allocations: 383.8 kB / 0.6794 GB, free: 106.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009408/0.8689, allocations: 478.5 kB / 0.6798 GB, free: 106.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000833/0.8698, allocations: 428 kB / 0.6802 GB, free: 106.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.8698, allocations: 0.875 kB / 0.6802 GB, free: 106.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01296/0.8828, allocations: 3.591 MB / 0.6837 GB, free: 105.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/0.8829, allocations: 6.719 kB / 0.6837 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.8829, allocations: 9.812 kB / 0.6837 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005955/0.8889, allocations: 1.515 MB / 0.6852 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.8895, allocations: 116.4 kB / 0.6853 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01264/0.9022, allocations: 6.823 MB / 0.692 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.9035, allocations: 159.2 kB / 0.6922 GB, free: 103.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/0.9036, allocations: 27.39 kB / 0.6922 GB, free: 103.4 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.0002427/0.9038, allocations: 146.6 kB / 0.6923 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.904, allocations: 97.38 kB / 0.6924 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/0.9141, allocations: 3.586 MB / 0.6959 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.9142, allocations: 7.469 kB / 0.6959 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9142, allocations: 0 / 0.6959 GB, free: 102.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.9142, allocations: 7.172 kB / 0.6959 GB, free: 102.4 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.01155/0.9258, allocations: 4.91 MB / 0.7007 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/0.9258, allocations: 3.875 kB / 0.7007 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006566/0.9265, allocations: 115.8 kB / 0.7008 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004766/0.9313, allocations: 1.466 MB / 0.7023 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.9314, allocations: 19.55 kB / 0.7023 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/0.9424, allocations: 5.886 MB / 0.708 GB, free: 95.93 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9425, allocations: 0 / 0.708 GB, free: 95.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01126/0.9537, allocations: 4.268 MB / 0.7122 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/0.9542, allocations: 179.3 kB / 0.7124 GB, free: 92.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.9544, allocations: 16 kB / 0.7124 GB, free: 92.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.9555, allocations: 126.8 kB / 0.7125 GB, free: 92.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00068/0.9562, allocations: 173.5 kB / 0.7127 GB, free: 92.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.9563, allocations: 19.84 kB / 0.7127 GB, free: 92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006224/0.957, allocations: 0.498 MB / 0.7132 GB, free: 91.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.957, allocations: 0 / 0.7132 GB, free: 91.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001093/0.9581, allocations: 378.6 kB / 0.7135 GB, free: 91.18 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.01113/0.9692, allocations: 4.844 MB / 0.7183 GB, free: 87.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00426/0.9735, allocations: 1.752 MB / 0.72 GB, free: 85.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.9736, allocations: 0 / 0.72 GB, free: 85.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003289/0.9769, allocations: 1.272 MB / 0.7212 GB, free: 84.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000717/0.9776, allocations: 66.45 kB / 0.7213 GB, free: 84.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.9804, allocations: 1.483 MB / 0.7227 GB, free: 82.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.9808, allocations: 1.042 MB / 0.7238 GB, free: 82.03 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.9811, allocations: 80.48 kB / 0.7238 GB, free: 81.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003631/0.9814, allocations: 346 kB / 0.7242 GB, free: 81.67 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.9814, allocations: 0 / 0.7242 GB, free: 81.67 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/1.021, allocations: 26.17 MB / 0.7497 GB, free: 56.17 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001518/1.021, allocations: 174 kB / 0.7499 GB, free: 55.94 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.626, allocations: 0 / 0.7499 GB, free: 55.94 MB / 490.7 MB (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)