Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.001059/0.001059, 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.178/1.178, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008088/0.0008089, allocations: 86.42 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.4512/0.4512, allocations: 78.91 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.656e-05/3.672e-05, allocations: 4 kB / 492.9 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3473, allocations: 69.5 MB / 0.5492 GB, free: 19.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4653, allocations: 97.3 MB / 0.6442 GB, free: 2.309 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.4656, allocations: 83.94 kB / 0.6443 GB, free: 2.227 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05539/0.521, allocations: 21.26 MB / 0.6651 GB, free: 12.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.5211, allocations: 4 kB / 0.6651 GB, free: 12.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.577e-05/0.5211, allocations: 16 kB / 0.6651 GB, free: 12.79 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00362/0.5248, allocations: 1.469 MB / 0.6665 GB, free: 11.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.5248, allocations: 19.91 kB / 0.6665 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/0.525, allocations: 106.5 kB / 0.6666 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/0.5276, allocations: 470.2 kB / 0.6671 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.5287, allocations: 0.5983 MB / 0.6677 GB, free: 10.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.5288, allocations: 184 kB / 0.6679 GB, free: 9.836 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.529, allocations: 59.91 kB / 0.6679 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.5302, allocations: 0.7016 MB / 0.6686 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.5302, allocations: 0 / 0.6686 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-05/0.5303, allocations: 28 kB / 0.6686 GB, free: 9.039 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.5303, allocations: 12 kB / 0.6686 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.5316, allocations: 0.7081 MB / 0.6693 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004105/0.5357, allocations: 2.428 MB / 0.6717 GB, free: 5.793 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.5368, allocations: 0.8757 MB / 0.6726 GB, free: 4.832 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.5375, allocations: 0.4957 MB / 0.673 GB, free: 4.332 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.081e-05/0.5376, allocations: 12.77 kB / 0.6731 GB, free: 4.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.5376, allocations: 43.34 kB / 0.6731 GB, free: 4.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.415e-06/0.5376, allocations: 0 / 0.6731 GB, free: 4.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.00974/0.5474, allocations: 3.298 MB / 0.6763 GB, free: 0.957 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.5475, allocations: 56.19 kB / 0.6764 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.5485, allocations: 0.6336 MB / 0.677 GB, free: 256 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.5487, allocations: 33.7 kB / 0.677 GB, free: 216 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3119/0.8606, allocations: 407.3 kB / 0.6774 GB, free: 107.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004698/0.8611, allocations: 269.7 kB / 0.6777 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.8612, allocations: 12.66 kB / 0.6777 GB, free: 107.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.8613, allocations: 336.4 kB / 0.678 GB, free: 107.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007382/0.862, allocations: 373.4 kB / 0.6784 GB, free: 107.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006799/0.8627, allocations: 455.2 kB / 0.6788 GB, free: 107.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007233/0.8635, allocations: 403.7 kB / 0.6792 GB, free: 107 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8635, allocations: 4.625 kB / 0.6792 GB, free: 107 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01098/0.8744, allocations: 3.406 MB / 0.6825 GB, free: 106.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.8745, allocations: 8.062 kB / 0.6825 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.8745, allocations: 2.219 kB / 0.6825 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00487/0.8794, allocations: 1.397 MB / 0.6839 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.8802, allocations: 126.8 kB / 0.684 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.8906, allocations: 6.172 MB / 0.69 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.8917, allocations: 154.1 kB / 0.6902 GB, free: 105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.4e-05/0.8918, allocations: 22.78 kB / 0.6902 GB, free: 105 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.892, allocations: 140.9 kB / 0.6903 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.8921, allocations: 93.16 kB / 0.6904 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008605/0.9008, allocations: 3.401 MB / 0.6937 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.9008, allocations: 7.312 kB / 0.6937 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.9008, allocations: 0 / 0.6937 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.9008, allocations: 3.469 kB / 0.6937 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009811/0.9106, allocations: 4.732 MB / 0.6984 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.9107, allocations: 0 / 0.6984 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.9112, allocations: 105.3 kB / 0.6985 GB, free: 102.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003736/0.9149, allocations: 1.342 MB / 0.6998 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.596e-05/0.915, allocations: 23.67 kB / 0.6998 GB, free: 102.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008839/0.9239, allocations: 5.326 MB / 0.705 GB, free: 98.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.9239, allocations: 0 / 0.705 GB, free: 98.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009389/0.9333, allocations: 4.081 MB / 0.709 GB, free: 95.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.9336, allocations: 189.5 kB / 0.7092 GB, free: 95.05 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.9337, allocations: 12 kB / 0.7092 GB, free: 95.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008029/0.9345, allocations: 119.2 kB / 0.7093 GB, free: 94.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004349/0.935, allocations: 163.1 kB / 0.7094 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.935, allocations: 27.5 kB / 0.7095 GB, free: 94.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005416/0.9356, allocations: 0.4966 MB / 0.71 GB, free: 94.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.9356, allocations: 0 / 0.71 GB, free: 94.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000851/0.9364, allocations: 350.7 kB / 0.7103 GB, free: 94.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.009673/0.9461, allocations: 4.661 MB / 0.7148 GB, free: 90.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003869/0.95, allocations: 1.669 MB / 0.7165 GB, free: 88.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.95, allocations: 0 / 0.7165 GB, free: 88.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002911/0.9529, allocations: 1.21 MB / 0.7177 GB, free: 87.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.9536, allocations: 69.5 kB / 0.7177 GB, free: 87.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.9561, allocations: 1.396 MB / 0.7191 GB, free: 86.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.9564, allocations: 1.029 MB / 0.7201 GB, free: 85.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.9567, allocations: 81.2 kB / 0.7202 GB, free: 85.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.957, allocations: 323.5 kB / 0.7205 GB, free: 84.89 MB / 490.7 MB Notification: Performance of SimCode: time 6.71e-07/0.957, allocations: 4 kB / 0.7205 GB, free: 84.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.9942, allocations: 23.76 MB / 0.7437 GB, free: 62.29 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/0.9944, allocations: 167.5 kB / 0.7438 GB, free: 62.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.535, allocations: 0 / 0.7438 GB, free: 62.07 MB / 490.7 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)