Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_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.0009933/0.0009934, allocations: 178.4 kB / 7.65 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.399/1.399, allocations: 221.5 MB / 229.6 MB, free: 7.504 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.0008987/0.0008988, allocations: 92.84 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4973/0.4973, allocations: 78.07 MB / 409.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.874e-05, allocations: 4 kB / 485 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1498, allocations: 69.36 MB / 0.5414 GB, free: 6.715 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4434/0.5932, allocations: 96.19 MB / 0.6353 GB, free: 3.188 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.5935, allocations: 79.95 kB / 0.6354 GB, free: 3.109 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05583/0.6494, allocations: 21.17 MB / 0.6561 GB, free: 14.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6494, allocations: 0 / 0.6561 GB, free: 14.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.566e-05/0.6495, allocations: 17.31 kB / 0.6561 GB, free: 14 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.003804/0.6533, allocations: 1.477 MB / 0.6575 GB, free: 12.48 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.6533, allocations: 12.03 kB / 0.6575 GB, free: 12.47 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002652/0.656, allocations: 470.1 kB / 0.658 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009146/0.6569, allocations: 0.5813 MB / 0.6585 GB, free: 11.39 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.6571, allocations: 160.1 kB / 0.6587 GB, free: 11.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.6572, allocations: 39.98 kB / 0.6587 GB, free: 11.17 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001193/0.6584, allocations: 0.7094 MB / 0.6594 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001161/0.6596, allocations: 0.6404 MB / 0.6601 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.6596, allocations: 0 / 0.6601 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.991e-05/0.6597, allocations: 7.922 kB / 0.6601 GB, free: 9.805 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.6597, allocations: 16 kB / 0.6601 GB, free: 9.789 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.00419/0.6639, allocations: 2.367 MB / 0.6624 GB, free: 7.332 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.6652, allocations: 0.9516 MB / 0.6633 GB, free: 6.297 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006549/0.6659, allocations: 0.489 MB / 0.6638 GB, free: 5.805 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.666, allocations: 16.75 kB / 0.6638 GB, free: 5.789 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.666, allocations: 43.34 kB / 0.6639 GB, free: 5.738 MB / 474.7 MB Notification: Performance of pre-optimization done (n=83): time 2.254e-06/0.666, allocations: 0 / 0.6639 GB, free: 5.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.01074/0.6768, allocations: 3.454 MB / 0.6672 GB, free: 2.27 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.6768, allocations: 60.19 kB / 0.6673 GB, free: 2.199 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.6777, allocations: 0.5842 MB / 0.6679 GB, free: 1.609 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.6778, allocations: 25.7 kB / 0.6679 GB, free: 1.578 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.6781, allocations: 404.8 kB / 0.6683 GB, free: 1.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.6784, allocations: 287.7 kB / 0.6685 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.6785, allocations: 4 kB / 0.6685 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.6786, allocations: 337.9 kB / 0.6689 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.6792, allocations: 369.5 kB / 0.6692 GB, free: 200 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.6799, allocations: 461.8 kB / 0.6697 GB, free: 15.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.6805, allocations: 410 kB / 0.6701 GB, free: 15.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.6805, allocations: 0 / 0.6701 GB, free: 15.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.01078/0.6913, allocations: 3.518 MB / 0.6735 GB, free: 11.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.6914, allocations: 4 kB / 0.6735 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.6914, allocations: 4 kB / 0.6735 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005415/0.6968, allocations: 1.481 MB / 0.6749 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006617/0.6975, allocations: 115.9 kB / 0.6751 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/0.7105, allocations: 6.63 MB / 0.6815 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.7118, allocations: 146.8 kB / 0.6817 GB, free: 3.285 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.7119, allocations: 23.98 kB / 0.6817 GB, free: 3.262 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.0002829/0.7122, allocations: 122.8 kB / 0.6818 GB, free: 3.137 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01068/0.7229, allocations: 3.457 MB / 0.6852 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003509/0.7232, allocations: 98.78 kB / 0.6853 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.7336, allocations: 3.5 MB / 0.6887 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.7337, allocations: 8 kB / 0.6887 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.7337, allocations: 3.953 kB / 0.6887 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.437e-05/0.7337, allocations: 3.984 kB / 0.6887 GB, free: 12.03 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.01213/0.7458, allocations: 4.762 MB / 0.6934 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.7459, allocations: 0 / 0.6934 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.7465, allocations: 107.9 kB / 0.6935 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005/0.7515, allocations: 1.453 MB / 0.6949 GB, free: 5.605 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.7516, allocations: 7.984 kB / 0.6949 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.7628, allocations: 5.77 MB / 0.7005 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.7628, allocations: 8.109 kB / 0.7005 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/0.7745, allocations: 4.175 MB / 0.7046 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003486/0.7749, allocations: 183.7 kB / 0.7048 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.775, allocations: 0 / 0.7048 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000915/0.776, allocations: 109.7 kB / 0.7049 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005043/0.7765, allocations: 168.5 kB / 0.7051 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.7765, allocations: 24 kB / 0.7051 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005801/0.7771, allocations: 459.1 kB / 0.7055 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7772, allocations: 0 / 0.7055 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001056/0.7782, allocations: 343.5 kB / 0.7058 GB, free: 10.23 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.01224/0.7905, allocations: 4.767 MB / 0.7105 GB, free: 5.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004333/0.7948, allocations: 1.677 MB / 0.7121 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7949, allocations: 0 / 0.7121 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.7983, allocations: 1.234 MB / 0.7133 GB, free: 2.492 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.799, allocations: 52.23 kB / 0.7134 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.802, allocations: 1.413 MB / 0.7148 GB, free: 0.9922 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006314/0.8026, allocations: 1.056 MB / 0.7158 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002962/0.8029, allocations: 72.91 kB / 0.7159 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/0.8034, allocations: 347.2 kB / 0.7162 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.8034, allocations: 0 / 0.7162 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/0.8544, allocations: 24.45 MB / 0.7401 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/0.8546, allocations: 120.1 kB / 0.7402 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.518, allocations: 0 / 0.7402 GB, free: 7.121 MB / 0.5417 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)