Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.002344/0.002344, allocations: 180.8 kB / 7.456 MB, free: 2.508 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.268/1.268, 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.001012/0.001012, allocations: 95.84 kB / 280.1 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4237/0.4237, allocations: 78.05 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.168e-06, allocations: 7.938 kB / 484.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2955, allocations: 69.34 MB / 0.5407 GB, free: 21.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1107/0.4063, allocations: 96.02 MB / 0.6345 GB, free: 8.801 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.4066, allocations: 75.95 kB / 0.6346 GB, free: 8.727 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06396/0.4706, allocations: 22.38 MB / 0.6564 GB, free: 2.172 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.398e-05/0.4707, allocations: 16 kB / 0.6564 GB, free: 2.156 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.00501/0.4757, allocations: 1.636 MB / 0.658 GB, free: 484 kB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4757, allocations: 12.03 kB / 0.658 GB, free: 472 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003824/0.4796, allocations: 0.5566 MB / 0.6586 GB, free: 15.9 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.4811, allocations: 0.668 MB / 0.6592 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003038/0.4814, allocations: 235.4 kB / 0.6595 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.4816, allocations: 40 kB / 0.6595 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001576/0.4832, allocations: 0.7446 MB / 0.6602 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.4846, allocations: 0.6755 MB / 0.6609 GB, free: 13.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4847, allocations: 7.906 kB / 0.6609 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.4848, allocations: 4 kB / 0.6609 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.4848, allocations: 16 kB / 0.6609 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006131/0.4909, allocations: 3.11 MB / 0.6639 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009405/0.4919, allocations: 0.4951 MB / 0.6644 GB, free: 9.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008051/0.4927, allocations: 0.5066 MB / 0.6649 GB, free: 9.172 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.4928, allocations: 16.55 kB / 0.6649 GB, free: 9.156 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4929, allocations: 55.16 kB / 0.665 GB, free: 9.094 MB / 490.7 MB Notification: Performance of pre-optimization done (n=81): time 2.244e-06/0.4929, allocations: 3.938 kB / 0.665 GB, free: 9.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.01316/0.506, allocations: 4.156 MB / 0.669 GB, free: 4.918 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.5061, allocations: 64.06 kB / 0.6691 GB, free: 4.844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008717/0.507, allocations: 0.6063 MB / 0.6697 GB, free: 4.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/0.507, allocations: 25.7 kB / 0.6697 GB, free: 4.199 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.5072, allocations: 284.4 kB / 0.67 GB, free: 3.918 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.5076, allocations: 271.8 kB / 0.6703 GB, free: 3.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.5076, allocations: 0 / 0.6703 GB, free: 3.648 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5078, allocations: 337.9 kB / 0.6706 GB, free: 3.312 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007224/0.5085, allocations: 393.5 kB / 0.671 GB, free: 2.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.5093, allocations: 495.5 kB / 0.6714 GB, free: 2.414 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.51, allocations: 429.2 kB / 0.6718 GB, free: 1.996 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.51, allocations: 0 / 0.6718 GB, free: 1.996 MB / 490.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.1683/0.6784, allocations: 4.254 MB / 0.676 GB, free: 143.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.6784, allocations: 6.125 kB / 0.676 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.6784, allocations: 6.594 kB / 0.676 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005616/0.6841, allocations: 1.746 MB / 0.6777 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/0.6847, allocations: 119.1 kB / 0.6778 GB, free: 143.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.6984, allocations: 6.123 MB / 0.6838 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.6999, allocations: 169.3 kB / 0.684 GB, free: 142.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.7, allocations: 25.28 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.000288/0.7003, allocations: 122.3 kB / 0.6841 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.7005, allocations: 104.2 kB / 0.6842 GB, free: 142.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.7128, allocations: 4.232 MB / 0.6883 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.7128, allocations: 7.812 kB / 0.6883 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7128, allocations: 0 / 0.6883 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/0.7129, allocations: 5.016 kB / 0.6883 GB, free: 141.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/0.727, allocations: 5.521 MB / 0.6937 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.7271, allocations: 0 / 0.6937 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.7277, allocations: 98.8 kB / 0.6938 GB, free: 141.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005878/0.7336, allocations: 1.727 MB / 0.6955 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/0.7338, allocations: 9 kB / 0.6955 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/0.7466, allocations: 5.663 MB / 0.7011 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7467, allocations: 1.156 kB / 0.7011 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01413/0.7608, allocations: 4.977 MB / 0.7059 GB, free: 139 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.7612, allocations: 185.9 kB / 0.7061 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.7614, allocations: 4.719 kB / 0.7061 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.7624, allocations: 132 kB / 0.7062 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003219/0.7627, allocations: 113.4 kB / 0.7063 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.363e-05/0.7628, allocations: 23.19 kB / 0.7064 GB, free: 138.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005579/0.7634, allocations: 471.5 kB / 0.7068 GB, free: 138.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009986/0.7644, allocations: 357 kB / 0.7071 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.0002481/0.7646, allocations: 125.2 kB / 0.7073 GB, free: 138.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004936/0.7696, allocations: 1.847 MB / 0.7091 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7696, allocations: 0.5625 kB / 0.7091 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004091/0.7737, allocations: 1.391 MB / 0.7104 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.0006123/0.7743, allocations: 57.16 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.002825/0.7772, allocations: 1.171 MB / 0.7116 GB, free: 137.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/0.7777, allocations: 1.083 MB / 0.7127 GB, free: 137.2 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.7777, allocations: 0 / 0.7127 GB, free: 137.2 MB / 490.7 MB Notification: Performance of Templates: time 0.0253/0.803, allocations: 17.06 MB / 0.7293 GB, free: 136.1 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)