Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") [: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.001816/0.001816, allocations: 176.2 kB / 7.46 MB, free: 2.492 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.07/1.07, allocations: 221.4 MB / 229.3 MB, free: 3.109 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.0007985/0.0007987, allocations: 104.2 kB / 280.1 MB, free: 1.328 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3566/0.3566, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.603e-06, allocations: 4 kB / 484.4 MB, free: 4.574 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2382, allocations: 69.34 MB / 0.5407 GB, free: 21.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1005/0.3387, allocations: 95.99 MB / 0.6345 GB, free: 8.973 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.3389, allocations: 75.95 kB / 0.6346 GB, free: 8.898 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05145/0.3904, allocations: 20.51 MB / 0.6546 GB, free: 4.227 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.743e-05/0.3905, allocations: 16 kB / 0.6546 GB, free: 4.211 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003931/0.3944, allocations: 1.515 MB / 0.6561 GB, free: 2.645 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3945, allocations: 11.97 kB / 0.6561 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/0.3973, allocations: 482.1 kB / 0.6566 GB, free: 2.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.3985, allocations: 0.6057 MB / 0.6571 GB, free: 1.516 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.3986, allocations: 156.1 kB / 0.6573 GB, free: 1.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/0.3988, allocations: 43.94 kB / 0.6573 GB, free: 1.297 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001281/0.4001, allocations: 0.6782 MB / 0.658 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.4013, allocations: 0.6209 MB / 0.6586 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.4013, allocations: 3.984 kB / 0.6586 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/0.4014, allocations: 0 / 0.6586 GB, free: 15.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.4014, allocations: 19.91 kB / 0.6586 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004032/0.4054, allocations: 2.336 MB / 0.6609 GB, free: 13.54 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007694/0.4062, allocations: 0.5352 MB / 0.6614 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006434/0.4068, allocations: 470.8 kB / 0.6619 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.078e-05/0.4069, allocations: 16.64 kB / 0.6619 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.407, allocations: 43.22 kB / 0.6619 GB, free: 12.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=76): time 3.005e-06/0.407, allocations: 3.984 kB / 0.6619 GB, free: 12.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=76): time 0.009858/0.4168, allocations: 3.454 MB / 0.6653 GB, free: 9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.4169, allocations: 60.06 kB / 0.6654 GB, free: 8.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/0.4176, allocations: 0.5789 MB / 0.6659 GB, free: 8.344 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.4177, allocations: 25.7 kB / 0.666 GB, free: 8.312 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.4178, allocations: 268.5 kB / 0.6662 GB, free: 8.047 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.418, allocations: 260.1 kB / 0.6665 GB, free: 7.789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.4181, allocations: 0 / 0.6665 GB, free: 7.789 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.4182, allocations: 334 kB / 0.6668 GB, free: 7.457 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.4188, allocations: 357.5 kB / 0.6671 GB, free: 7.109 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.4195, allocations: 445.7 kB / 0.6675 GB, free: 6.645 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000674/0.4201, allocations: 403 kB / 0.6679 GB, free: 6.254 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4202, allocations: 0 / 0.6679 GB, free: 6.254 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.009972/0.4301, allocations: 3.543 MB / 0.6714 GB, free: 2.695 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4302, allocations: 7.984 kB / 0.6714 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4302, allocations: 4 kB / 0.6714 GB, free: 2.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004495/0.4347, allocations: 1.414 MB / 0.6728 GB, free: 1.266 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.4353, allocations: 119.8 kB / 0.6729 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1374/0.5726, allocations: 5.479 MB / 0.6782 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009957/0.5737, allocations: 148.1 kB / 0.6784 GB, free: 144.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.5737, allocations: 34.16 kB / 0.6784 GB, free: 144.1 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.0001906/0.5739, allocations: 115.5 kB / 0.6785 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.5741, allocations: 90.66 kB / 0.6786 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008954/0.583, allocations: 3.529 MB / 0.6821 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5831, allocations: 6.969 kB / 0.6821 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.5831, allocations: 0 / 0.6821 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/0.5831, allocations: 3.844 kB / 0.6821 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.5932, allocations: 4.646 MB / 0.6866 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5932, allocations: 0 / 0.6866 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.5938, allocations: 109.2 kB / 0.6867 GB, free: 143.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003865/0.5977, allocations: 1.385 MB / 0.6881 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-05/0.5978, allocations: 6.375 kB / 0.6881 GB, free: 143.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008834/0.6066, allocations: 4.796 MB / 0.6928 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.6067, allocations: 4 kB / 0.6928 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01057/0.6172, allocations: 4.203 MB / 0.6969 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.6175, allocations: 182.5 kB / 0.697 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.6176, allocations: 1.125 kB / 0.697 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/0.6185, allocations: 119.5 kB / 0.6972 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/0.6188, allocations: 97.88 kB / 0.6972 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/0.6189, allocations: 18.25 kB / 0.6973 GB, free: 141.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005105/0.6194, allocations: 462 kB / 0.6977 GB, free: 141.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009154/0.6203, allocations: 305.2 kB / 0.698 GB, free: 141.2 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.0002294/0.6205, allocations: 130.5 kB / 0.6981 GB, free: 141.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003958/0.6245, allocations: 1.606 MB / 0.6997 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6245, allocations: 0 / 0.6997 GB, free: 140.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003237/0.6278, allocations: 1.182 MB / 0.7008 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.6283, allocations: 58.66 kB / 0.7009 GB, free: 140.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.6312, allocations: 1.221 MB / 0.7021 GB, free: 140.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/0.6318, allocations: 1.058 MB / 0.7031 GB, free: 139.6 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6318, allocations: 0 / 0.7031 GB, free: 139.6 MB / 490.7 MB Notification: Performance of Templates: time 0.01976/0.6515, allocations: 15.25 MB / 0.718 GB, free: 138.9 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)