Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.002858/0.002858, allocations: 179.5 kB / 7.458 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009771/0.0009771, allocations: 89.81 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07797/0.07797, allocations: 12.19 MB / 321.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3127/0.3127, allocations: 78.05 MB / 449.9 MB, free: 3.664 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.29/0.6028, allocations: 76.1 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.7457, allocations: 69.23 MB / 0.5813 GB, free: 9.176 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/1.162, allocations: 97.47 MB / 0.6765 GB, free: 9.629 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/1.162, allocations: 75.36 kB / 0.6765 GB, free: 9.617 MB / 426.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.05972/1.222, allocations: 21.44 MB / 0.6975 GB, free: 9.625 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/1.222, allocations: 19.88 kB / 0.6975 GB, free: 9.605 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/1.225, allocations: 488.4 kB / 0.698 GB, free: 9.168 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/1.227, allocations: 0.6123 MB / 0.6986 GB, free: 8.629 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/1.228, allocations: 164.1 kB / 0.6987 GB, free: 8.441 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003667/1.228, allocations: 35.91 kB / 0.6988 GB, free: 8.406 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001561/1.23, allocations: 0.6801 MB / 0.6994 GB, free: 7.992 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/1.231, allocations: 0.6172 MB / 0.7 GB, free: 7.566 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/1.231, allocations: 4 kB / 0.7 GB, free: 7.562 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/1.231, allocations: 4 kB / 0.7 GB, free: 7.559 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/1.231, allocations: 12 kB / 0.7 GB, free: 7.547 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005717/1.237, allocations: 2.34 MB / 0.7023 GB, free: 5.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/1.238, allocations: 0.5264 MB / 0.7028 GB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000689/1.239, allocations: 465.6 kB / 0.7033 GB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/1.239, allocations: 24.56 kB / 0.7033 GB, free: 5.098 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/1.239, allocations: 46.69 kB / 0.7033 GB, free: 5.047 MB / 442.7 MB Notification: Performance of pre-optimization done (n=76): time 5.581e-06/1.239, allocations: 0 / 0.7033 GB, free: 5.047 MB / 442.7 MB Notification: Performance of matching and sorting (n=76): time 0.01085/1.25, allocations: 3.446 MB / 0.7067 GB, free: 2.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.25, allocations: 60.06 kB / 0.7068 GB, free: 1.949 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/1.251, allocations: 0.5804 MB / 0.7073 GB, free: 1.504 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/1.251, allocations: 25.7 kB / 0.7074 GB, free: 1.473 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/1.252, allocations: 265.8 kB / 0.7076 GB, free: 1.25 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003758/1.252, allocations: 256.8 kB / 0.7079 GB, free: 1.023 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/1.252, allocations: 0 / 0.7079 GB, free: 1.023 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/1.252, allocations: 331.1 kB / 0.7082 GB, free: 0.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006196/1.253, allocations: 362 kB / 0.7085 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/1.253, allocations: 444.2 kB / 0.7089 GB, free: 236 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/1.254, allocations: 404.6 kB / 0.7093 GB, free: 0 / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.254, allocations: 0 / 0.7093 GB, free: 0 / 442.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.01114/1.265, allocations: 3.553 MB / 0.7128 GB, free: 12.89 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/1.265, allocations: 4 kB / 0.7128 GB, free: 12.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/1.265, allocations: 4 kB / 0.7128 GB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005193/1.271, allocations: 1.413 MB / 0.7142 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/1.271, allocations: 123 kB / 0.7143 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.284, allocations: 5.489 MB / 0.7197 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/1.285, allocations: 155.4 kB / 0.7198 GB, free: 7.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/1.285, allocations: 31.09 kB / 0.7198 GB, free: 7.227 MB / 458.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.000273/1.285, allocations: 108.9 kB / 0.7199 GB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/1.286, allocations: 94.88 kB / 0.72 GB, free: 7.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.296, allocations: 3.529 MB / 0.7235 GB, free: 3.953 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/1.296, allocations: 8 kB / 0.7235 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.296, allocations: 0 / 0.7235 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.365e-05/1.296, allocations: 3.984 kB / 0.7235 GB, free: 3.941 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/1.309, allocations: 4.649 MB / 0.728 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/1.309, allocations: 0 / 0.728 GB, free: 15.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/1.31, allocations: 111.1 kB / 0.7281 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004627/1.315, allocations: 1.386 MB / 0.7295 GB, free: 14.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002355/1.315, allocations: 11.98 kB / 0.7295 GB, free: 14.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/1.325, allocations: 4.787 MB / 0.7342 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.325, allocations: 0 / 0.7342 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01191/1.337, allocations: 4.203 MB / 0.7383 GB, free: 6.875 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01324/1.35, allocations: 5.214 MB / 0.7434 GB, free: 1.629 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007299/1.351, allocations: 183.7 kB / 0.7436 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/1.352, allocations: 0 / 0.7436 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.353, allocations: 115.9 kB / 0.7437 GB, free: 1.316 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/1.353, allocations: 96.48 kB / 0.7438 GB, free: 1.223 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-05/1.353, allocations: 20 kB / 0.7438 GB, free: 1.203 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006373/1.354, allocations: 463.1 kB / 0.7442 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001535/1.355, allocations: 311.5 kB / 0.7445 GB, free: 464 kB / 474.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.0002761/1.355, allocations: 119.2 kB / 0.7446 GB, free: 336 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004289/1.36, allocations: 1.613 MB / 0.7462 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.36, allocations: 0 / 0.7462 GB, free: 14.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003359/1.363, allocations: 1.174 MB / 0.7473 GB, free: 13.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/1.364, allocations: 62.64 kB / 0.7474 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003233/1.367, allocations: 1.226 MB / 0.7486 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007586/1.368, allocations: 1.066 MB / 0.7496 GB, free: 11.11 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/1.368, allocations: 0 / 0.7496 GB, free: 11.11 MB / 490.7 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)