Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2") [: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.001947/0.001947, allocations: 184.9 kB / 7.458 MB, free: 2.52 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.044/1.044, allocations: 221.4 MB / 229.3 MB, free: 3.008 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.0008559/0.0008559, allocations: 103.5 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3545/0.3545, allocations: 78.1 MB / 409 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.15e-06, allocations: 0 / 484.4 MB, free: 4.562 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2285, allocations: 69.34 MB / 0.5407 GB, free: 21.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09793/0.3265, allocations: 96.02 MB / 0.6345 GB, free: 8.922 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3267, allocations: 79.95 kB / 0.6346 GB, free: 8.844 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.05499/0.3817, allocations: 22.36 MB / 0.6564 GB, free: 2.305 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.801e-05/0.3818, allocations: 16 kB / 0.6564 GB, free: 2.289 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003984/0.3858, allocations: 1.644 MB / 0.6581 GB, free: 0.5977 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.3858, allocations: 8.031 kB / 0.6581 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.389, allocations: 0.5605 MB / 0.6586 GB, free: 28 kB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.3902, allocations: 0.6642 MB / 0.6593 GB, free: 15.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.3904, allocations: 243.4 kB / 0.6595 GB, free: 15.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.3906, allocations: 36 kB / 0.6595 GB, free: 15.01 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00131/0.3919, allocations: 0.7407 MB / 0.6602 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3931, allocations: 0.6795 MB / 0.6609 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3931, allocations: 7.906 kB / 0.6609 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.3932, allocations: 0 / 0.6609 GB, free: 13.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/0.3932, allocations: 19.94 kB / 0.6609 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005001/0.3982, allocations: 3.11 MB / 0.664 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.3991, allocations: 0.4951 MB / 0.6645 GB, free: 9.805 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000702/0.3998, allocations: 0.5027 MB / 0.6649 GB, free: 9.301 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-05/0.3999, allocations: 24.53 kB / 0.665 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3999, allocations: 43.22 kB / 0.665 GB, free: 9.227 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 1.853e-06/0.3999, allocations: 0 / 0.665 GB, free: 9.227 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.01196/0.4119, allocations: 4.168 MB / 0.6691 GB, free: 5.047 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.4119, allocations: 60.06 kB / 0.6691 GB, free: 4.977 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006611/0.4126, allocations: 0.6142 MB / 0.6697 GB, free: 4.355 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.4127, allocations: 25.7 kB / 0.6698 GB, free: 4.324 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.4128, allocations: 276.4 kB / 0.67 GB, free: 4.051 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.4131, allocations: 271.8 kB / 0.6703 GB, free: 3.781 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.4131, allocations: 0 / 0.6703 GB, free: 3.781 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.4132, allocations: 337.9 kB / 0.6706 GB, free: 3.445 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.4138, allocations: 393.6 kB / 0.671 GB, free: 3.062 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/0.4145, allocations: 491.6 kB / 0.6715 GB, free: 2.551 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006796/0.4152, allocations: 433.2 kB / 0.6719 GB, free: 2.129 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4152, allocations: 4 kB / 0.6719 GB, free: 2.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.1448/0.5601, allocations: 4.249 MB / 0.676 GB, free: 143.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.5601, allocations: 11.8 kB / 0.676 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.5602, allocations: 0 / 0.676 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004892/0.5651, allocations: 1.742 MB / 0.6777 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.5656, allocations: 121.5 kB / 0.6778 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.5772, allocations: 6.117 MB / 0.6838 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.5783, allocations: 174.8 kB / 0.684 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.569e-05/0.5784, allocations: 30.27 kB / 0.684 GB, free: 142.4 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(start = order21.delta0 unit = "rad" ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.5786, allocations: 117.8 kB / 0.6841 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.5787, allocations: 100.5 kB / 0.6842 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.5894, allocations: 4.233 MB / 0.6884 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5894, allocations: 10.11 kB / 0.6884 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.5894, allocations: 0 / 0.6884 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5894, allocations: 3.797 kB / 0.6884 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01175/0.6011, allocations: 5.526 MB / 0.6938 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.6012, allocations: 0 / 0.6938 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004585/0.6016, allocations: 105.2 kB / 0.6939 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005042/0.6067, allocations: 1.724 MB / 0.6956 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/0.6068, allocations: 4.188 kB / 0.6956 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/0.6181, allocations: 5.663 MB / 0.7011 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6182, allocations: 1.969 kB / 0.7011 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0122/0.6304, allocations: 4.984 MB / 0.706 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.6306, allocations: 189.8 kB / 0.7061 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.6307, allocations: 0 / 0.7061 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009161/0.6317, allocations: 129.1 kB / 0.7063 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002631/0.6319, allocations: 117.6 kB / 0.7064 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.632, allocations: 15.69 kB / 0.7064 GB, free: 138.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0004628/0.6325, allocations: 476.5 kB / 0.7068 GB, free: 138.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009715/0.6335, allocations: 356.2 kB / 0.7072 GB, free: 138.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/0.6337, allocations: 129.8 kB / 0.7073 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004429/0.6382, allocations: 1.846 MB / 0.7091 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6382, allocations: 0 / 0.7091 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003561/0.6418, allocations: 1.392 MB / 0.7105 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.6421, allocations: 54.56 kB / 0.7105 GB, free: 138.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.6445, allocations: 1.173 MB / 0.7117 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.645, allocations: 1.08 MB / 0.7127 GB, free: 137.2 MB / 490.7 MB Notification: Performance of SimCode: time 7.52e-07/0.645, allocations: 0 / 0.7127 GB, free: 137.2 MB / 490.7 MB Notification: Performance of Templates: time 0.02164/0.6666, allocations: 17.06 MB / 0.7294 GB, free: 136.2 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)