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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004191/0.004191, allocations: 181.4 kB / 7.459 MB, free: 2.188 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.378/1.378, allocations: 221.4 MB / 229.3 MB, free: 3.035 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.001045/0.001045, allocations: 97.72 kB / 280.1 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6902/0.6902, allocations: 78.91 MB / 409.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1894/0.8797, allocations: 75.66 MB / 485.5 MB, free: 3.578 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4586/1.338, allocations: 69.49 MB / 0.542 GB, free: 20.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/1.479, allocations: 96.57 MB / 0.6363 GB, free: 7.285 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.479, allocations: 71.97 kB / 0.6363 GB, free: 7.215 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.06502/1.544, allocations: 22.27 MB / 0.6581 GB, free: 0.7266 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/1.544, allocations: 12 kB / 0.6581 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/1.547, allocations: 486.1 kB / 0.6586 GB, free: 244 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/1.548, allocations: 0.6095 MB / 0.6591 GB, free: 15.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/1.548, allocations: 164 kB / 0.6593 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.549, allocations: 32 kB / 0.6593 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/1.55, allocations: 0.686 MB / 0.66 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/1.551, allocations: 0.6209 MB / 0.6606 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/1.551, allocations: 0 / 0.6606 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/1.551, allocations: 0 / 0.6606 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/1.551, allocations: 15.91 kB / 0.6606 GB, free: 14.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004892/1.556, allocations: 2.344 MB / 0.6629 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009596/1.557, allocations: 0.5313 MB / 0.6634 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008481/1.558, allocations: 466.8 kB / 0.6639 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/1.558, allocations: 16.66 kB / 0.6639 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/1.558, allocations: 47.2 kB / 0.6639 GB, free: 10.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/1.558, allocations: 0 / 0.6639 GB, free: 10.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.01091/1.569, allocations: 3.45 MB / 0.6673 GB, free: 7.082 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/1.569, allocations: 60.06 kB / 0.6674 GB, free: 7.012 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.57, allocations: 0.5711 MB / 0.6679 GB, free: 6.434 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002007/1.571, allocations: 29.7 kB / 0.668 GB, free: 6.398 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/1.571, allocations: 272.5 kB / 0.6682 GB, free: 6.129 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/1.571, allocations: 256.1 kB / 0.6685 GB, free: 5.875 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/1.571, allocations: 0 / 0.6685 GB, free: 5.875 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/1.571, allocations: 330 kB / 0.6688 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/1.572, allocations: 365.5 kB / 0.6691 GB, free: 5.191 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008073/1.573, allocations: 449.7 kB / 0.6695 GB, free: 4.723 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007533/1.574, allocations: 391.1 kB / 0.6699 GB, free: 4.344 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/1.574, allocations: 0 / 0.6699 GB, free: 4.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01113/1.585, allocations: 3.555 MB / 0.6734 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.585, allocations: 4 kB / 0.6734 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.585, allocations: 0 / 0.6734 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3267/1.911, allocations: 1.418 MB / 0.6748 GB, free: 65.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009386/1.912, allocations: 116.7 kB / 0.6749 GB, free: 65.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/1.924, allocations: 5.48 MB / 0.6802 GB, free: 64.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.926, allocations: 155.1 kB / 0.6804 GB, free: 64.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/1.926, allocations: 26.25 kB / 0.6804 GB, free: 64.68 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.0002482/1.926, allocations: 119.6 kB / 0.6805 GB, free: 64.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/1.926, allocations: 92.5 kB / 0.6806 GB, free: 64.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0095/1.936, allocations: 3.524 MB / 0.6841 GB, free: 64.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.266e-05/1.936, allocations: 7.75 kB / 0.6841 GB, free: 64.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.936, allocations: 4.312 kB / 0.6841 GB, free: 64.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/1.936, allocations: 3.609 kB / 0.6841 GB, free: 64.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01172/1.947, allocations: 4.649 MB / 0.6886 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.947, allocations: 0 / 0.6886 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/1.948, allocations: 110.2 kB / 0.6887 GB, free: 63.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00427/1.953, allocations: 1.387 MB / 0.6901 GB, free: 63.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001911/1.953, allocations: 9.75 kB / 0.6901 GB, free: 63.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009945/1.963, allocations: 4.784 MB / 0.6948 GB, free: 62.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.963, allocations: 7.906 kB / 0.6948 GB, free: 62.33 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01122/1.974, allocations: 4.209 MB / 0.6989 GB, free: 61.89 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0119/1.986, allocations: 5.205 MB / 0.704 GB, free: 61.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005493/1.987, allocations: 173 kB / 0.7041 GB, free: 60.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.987, allocations: 3.875 kB / 0.7041 GB, free: 60.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009864/1.988, allocations: 120.5 kB / 0.7042 GB, free: 60.92 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/1.988, allocations: 96.77 kB / 0.7043 GB, free: 60.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.497e-05/1.988, allocations: 19.27 kB / 0.7044 GB, free: 60.92 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006503/1.989, allocations: 462.2 kB / 0.7048 GB, free: 60.82 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001766/1.991, allocations: 315.5 kB / 0.7051 GB, free: 60.81 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.0004108/1.991, allocations: 134.1 kB / 0.7052 GB, free: 60.72 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004092/1.995, allocations: 1.601 MB / 0.7068 GB, free: 60.54 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/1.995, allocations: 4.062 kB / 0.7068 GB, free: 60.54 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003206/1.998, allocations: 1.18 MB / 0.7079 GB, free: 60.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008111/1.999, allocations: 55.7 kB / 0.708 GB, free: 60.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/2.002, allocations: 1.212 MB / 0.7092 GB, free: 59.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006367/2.003, allocations: 1.067 MB / 0.7102 GB, free: 59.23 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/2.003, allocations: 3.094 kB / 0.7102 GB, free: 59.23 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)