Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.LoadTestPQ,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_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.01297/0.01297, allocations: 171.1 kB / 15.11 MB, free: 5.992 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.561/1.561, allocations: 223.2 MB / 239 MB, free: 108 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008889/0.0008889, allocations: 93.2 kB / 290.2 MB, free: 4.516 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4936/0.4936, allocations: 78.53 MB / 419.8 MB, free: 36.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005098/0.00051, allocations: 8 kB / 499.8 MB, free: 7.051 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1819, allocations: 69.37 MB / 0.5558 GB, free: 1.684 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.6316, allocations: 96.79 MB / 0.6503 GB, free: 5.355 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.6319, allocations: 82.39 kB / 0.6504 GB, free: 5.312 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05574/0.6877, allocations: 21.11 MB / 0.671 GB, free: 0.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6877, allocations: 4 kB / 0.671 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.372e-05/0.6878, allocations: 16 kB / 0.6711 GB, free: 0.7305 MB / 458.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.004214/0.692, allocations: 1.645 MB / 0.6727 GB, free: 15.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.6921, allocations: 8.031 kB / 0.6727 GB, free: 15.03 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001697/0.6923, allocations: 114.5 kB / 0.6728 GB, free: 14.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/0.6949, allocations: 466.2 kB / 0.6732 GB, free: 14.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.6961, allocations: 0.6176 MB / 0.6738 GB, free: 13.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002192/0.6963, allocations: 184.1 kB / 0.674 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.6965, allocations: 56 kB / 0.6741 GB, free: 13.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.6983, allocations: 0.9138 MB / 0.6749 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.6984, allocations: 0 / 0.6749 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/0.6985, allocations: 24 kB / 0.675 GB, free: 12.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.6985, allocations: 15.94 kB / 0.675 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001982/0.7005, allocations: 0.9694 MB / 0.6759 GB, free: 11.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004354/0.7049, allocations: 2.428 MB / 0.6783 GB, free: 9.07 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.7066, allocations: 1.085 MB / 0.6794 GB, free: 7.898 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.7067, allocations: 12.64 kB / 0.6794 GB, free: 7.887 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.7068, allocations: 43.22 kB / 0.6794 GB, free: 7.836 MB / 474.7 MB Notification: Performance of pre-optimization done (n=76): time 2.746e-06/0.7068, allocations: 0 / 0.6794 GB, free: 7.836 MB / 474.7 MB Notification: Performance of matching and sorting (n=76): time 0.01966/0.7264, allocations: 6.075 MB / 0.6853 GB, free: 1.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.7266, allocations: 60.06 kB / 0.6854 GB, free: 1.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.7276, allocations: 0.6413 MB / 0.686 GB, free: 1.012 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.7278, allocations: 41.7 kB / 0.6861 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.7281, allocations: 408.6 kB / 0.6865 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/0.7284, allocations: 268.1 kB / 0.6867 GB, free: 300 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.7285, allocations: 9.781 kB / 0.6867 GB, free: 292 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.7286, allocations: 334 kB / 0.687 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.7298, allocations: 0.5719 MB / 0.6876 GB, free: 15.38 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.731, allocations: 0.6535 MB / 0.6882 GB, free: 14.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.7322, allocations: 0.5966 MB / 0.6888 GB, free: 14.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7323, allocations: 0 / 0.6888 GB, free: 14.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0109/0.7432, allocations: 3.972 MB / 0.6927 GB, free: 10.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.902e-05/0.7432, allocations: 4 kB / 0.6927 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7433, allocations: 4 kB / 0.6927 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005185/0.7484, allocations: 1.699 MB / 0.6944 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.7492, allocations: 123.9 kB / 0.6945 GB, free: 8.289 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/0.7672, allocations: 8.344 MB / 0.7026 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.7684, allocations: 151.3 kB / 0.7028 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-05/0.7685, allocations: 27.98 kB / 0.7028 GB, free: 15.63 MB / 0.4948 GB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 fixed = true ) "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 () * Number of clocked 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.0005038/0.769, allocations: 218.4 kB / 0.703 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/0.7692, allocations: 95 kB / 0.7031 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.7799, allocations: 3.953 MB / 0.707 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.78, allocations: 12 kB / 0.707 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.78, allocations: 0 / 0.707 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.2e-05/0.78, allocations: 3.984 kB / 0.707 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/0.7927, allocations: 5.292 MB / 0.7121 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.7927, allocations: 0 / 0.7121 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.7934, allocations: 107.9 kB / 0.7123 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00478/0.7982, allocations: 1.642 MB / 0.7139 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/0.7983, allocations: 19.98 kB / 0.7139 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.8132, allocations: 7.176 MB / 0.7209 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8133, allocations: 0 / 0.7209 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/0.8257, allocations: 4.85 MB / 0.7256 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.8261, allocations: 183.7 kB / 0.7258 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.8263, allocations: 16 kB / 0.7258 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008371/0.8271, allocations: 115.9 kB / 0.7259 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005355/0.8276, allocations: 168.3 kB / 0.7261 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/0.8277, allocations: 16 kB / 0.7261 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006775/0.8284, allocations: 0.5068 MB / 0.7266 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8284, allocations: 1.594 kB / 0.7266 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001006/0.8294, allocations: 343.6 kB / 0.7269 GB, free: 6.637 MB / 0.5105 GB 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 () * Number of clocked 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.01279/0.8422, allocations: 5.426 MB / 0.7322 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005326/0.8476, allocations: 2.093 MB / 0.7343 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.8476, allocations: 0 / 0.7343 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003784/0.8514, allocations: 1.436 MB / 0.7357 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.8521, allocations: 64.39 kB / 0.7357 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/0.8718, allocations: 10.17 MB / 0.7457 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.8724, allocations: 1.028 MB / 0.7467 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000408/0.8729, allocations: 80.83 kB / 0.7467 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/0.8733, allocations: 331.3 kB / 0.7471 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of SimCode: time 9.22e-07/0.8733, allocations: 3.938 kB / 0.7471 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04545/0.9188, allocations: 23.81 MB / 0.7703 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/0.919, allocations: 180.8 kB / 0.7705 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/3.56, allocations: 4 kB / 0.7705 GB, free: 9.898 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)