Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.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.PSSE.GENCLS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS") translateModel(OpenIPSL.Tests.Machines.PSSE.GENCLS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS") [: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.000957/0.000957, allocations: 183.4 kB / 7.466 MB, free: 476 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.076/1.076, allocations: 221.4 MB / 229.2 MB, free: 7.691 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008306, allocations: 105.4 kB / 280.1 MB, free: 5.156 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3632/0.3632, allocations: 78.11 MB / 409 MB, free: 19.49 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.993e-06, allocations: 0 / 484.4 MB, free: 8.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2281, allocations: 69.34 MB / 0.5407 GB, free: 24.02 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09718/0.3253, allocations: 96.84 MB / 0.6353 GB, free: 12.03 MB / 462.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.3255, allocations: 83.94 kB / 0.6354 GB, free: 11.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 0.07145/0.397, allocations: 28.35 MB / 0.6631 GB, free: 15.37 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.888e-05/0.3971, allocations: 16 kB / 0.6631 GB, free: 15.36 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004036/0.4011, allocations: 1.713 MB / 0.6648 GB, free: 13.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.4011, allocations: 8.031 kB / 0.6648 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002655/0.4038, allocations: 0.5057 MB / 0.6653 GB, free: 13.08 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.4049, allocations: 0.7235 MB / 0.666 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/0.4052, allocations: 329.3 kB / 0.6663 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.4053, allocations: 51.83 kB / 0.6663 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001405/0.4068, allocations: 0.8436 MB / 0.6672 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.4081, allocations: 0.8446 MB / 0.668 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4081, allocations: 4 kB / 0.668 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.351e-05/0.4082, allocations: 0 / 0.668 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4082, allocations: 19.98 kB / 0.668 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005781/0.414, allocations: 3.551 MB / 0.6715 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.4152, allocations: 0.7529 MB / 0.6722 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007829/0.416, allocations: 0.5625 MB / 0.6728 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.4161, allocations: 28.75 kB / 0.6728 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4161, allocations: 43.34 kB / 0.6728 GB, free: 5.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=97): time 1.873e-06/0.4161, allocations: 0 / 0.6728 GB, free: 5.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=97): time 0.01429/0.4304, allocations: 4.854 MB / 0.6776 GB, free: 168 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/0.4305, allocations: 89.89 kB / 0.6777 GB, free: 60 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1221/0.5526, allocations: 0.7139 MB / 0.6783 GB, free: 147.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001865/0.5528, allocations: 29.61 kB / 0.6784 GB, free: 147.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.5529, allocations: 288.9 kB / 0.6787 GB, free: 147 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.5532, allocations: 336.5 kB / 0.679 GB, free: 146.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.222e-05/0.5533, allocations: 0 / 0.679 GB, free: 146.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.5534, allocations: 336.1 kB / 0.6793 GB, free: 146.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.554, allocations: 446.7 kB / 0.6797 GB, free: 146.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006582/0.5547, allocations: 0.5784 MB / 0.6803 GB, free: 146.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006576/0.5554, allocations: 490.6 kB / 0.6808 GB, free: 146.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5554, allocations: 3.875 kB / 0.6808 GB, free: 146.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0136/0.569, allocations: 4.954 MB / 0.6856 GB, free: 146.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.569, allocations: 7.719 kB / 0.6856 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.569, allocations: 6.781 kB / 0.6856 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006388/0.5754, allocations: 2.101 MB / 0.6877 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.576, allocations: 118.5 kB / 0.6878 GB, free: 146.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.017/0.593, allocations: 7.787 MB / 0.6954 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.5945, allocations: 196.6 kB / 0.6956 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.973e-05/0.5946, allocations: 36.03 kB / 0.6956 GB, free: 144.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.5948, allocations: 120.2 kB / 0.6957 GB, free: 144.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.595, allocations: 117.3 kB / 0.6958 GB, free: 144.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01378/0.6088, allocations: 4.994 MB / 0.7007 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.6088, allocations: 10.41 kB / 0.7007 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.6088, allocations: 1.375 kB / 0.7007 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.6088, allocations: 6.844 kB / 0.7007 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.6242, allocations: 6.379 MB / 0.707 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.6242, allocations: 0.7812 kB / 0.707 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004911/0.6247, allocations: 94.84 kB / 0.707 GB, free: 143.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006058/0.6308, allocations: 2.099 MB / 0.7091 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.034e-05/0.6309, allocations: 3.062 kB / 0.7091 GB, free: 143.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/0.6461, allocations: 7.054 MB / 0.716 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6461, allocations: 0 / 0.716 GB, free: 141.1 MB / 494.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01427/0.6604, allocations: 5.84 MB / 0.7217 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.6607, allocations: 214.9 kB / 0.7219 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.6609, allocations: 3.125 kB / 0.7219 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/0.6621, allocations: 143.5 kB / 0.722 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000293/0.6624, allocations: 143.3 kB / 0.7222 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/0.6625, allocations: 23.03 kB / 0.7222 GB, free: 139.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 0.0005609/0.663, allocations: 0.5592 MB / 0.7227 GB, free: 138.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001001/0.664, allocations: 403.7 kB / 0.7231 GB, free: 138.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (gENCLS.delta,gENCLS.eq,gENCLS1.delta,gENCLS1.omega,gENCLS1.eq,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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 {28 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.6642, allocations: 138.6 kB / 0.7233 GB, free: 138.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005627/0.6699, allocations: 2.179 MB / 0.7254 GB, free: 138.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6699, allocations: 0 / 0.7254 GB, free: 138.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004837/0.6747, allocations: 1.693 MB / 0.727 GB, free: 137.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.6752, allocations: 64.31 kB / 0.7271 GB, free: 137.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003317/0.6785, allocations: 1.638 MB / 0.7287 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/0.6792, allocations: 1.128 MB / 0.7298 GB, free: 136 MB / 494.1 MB Notification: Performance of SimCode: time 3.81e-07/0.6792, allocations: 1.031 kB / 0.7298 GB, free: 136 MB / 494.1 MB Notification: Performance of Templates: time 0.02636/0.7056, allocations: 22.72 MB / 0.752 GB, free: 123.3 MB / 494.1 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)