Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS") translateModel(OpenIPSL.Tests.Machines.PSSE.GENCLS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.00248/0.00248, allocations: 175.2 kB / 7.459 MB, free: 2.219 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.335/1.335, allocations: 221.4 MB / 229.3 MB, free: 3.023 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.001014/0.001014, allocations: 100.2 kB / 280.1 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4394/0.4394, allocations: 78.91 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.542e-06, allocations: 0 / 485.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3205, allocations: 69.5 MB / 0.5419 GB, free: 20.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.4436, allocations: 97.52 MB / 0.6371 GB, free: 6.344 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4439, allocations: 75.95 kB / 0.6372 GB, free: 6.27 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07834/0.5223, allocations: 27.74 MB / 0.6643 GB, free: 10.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.426e-05/0.5224, allocations: 24 kB / 0.6643 GB, free: 10.28 MB / 490.7 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.00508/0.5275, allocations: 1.699 MB / 0.6659 GB, free: 8.535 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.5275, allocations: 8.031 kB / 0.6659 GB, free: 8.527 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.5308, allocations: 0.5135 MB / 0.6664 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.5323, allocations: 0.7235 MB / 0.6672 GB, free: 7.234 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004844/0.5328, allocations: 333.3 kB / 0.6675 GB, free: 6.852 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.5331, allocations: 47.89 kB / 0.6675 GB, free: 6.805 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001794/0.5349, allocations: 0.8436 MB / 0.6683 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.5366, allocations: 0.8407 MB / 0.6692 GB, free: 5.109 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.5366, allocations: 0 / 0.6692 GB, free: 5.109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.5367, allocations: 0 / 0.6692 GB, free: 5.109 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.5367, allocations: 16 kB / 0.6692 GB, free: 5.094 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007/0.5437, allocations: 3.545 MB / 0.6726 GB, free: 1.395 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.5451, allocations: 0.7528 MB / 0.6734 GB, free: 0.625 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008966/0.546, allocations: 0.5625 MB / 0.6739 GB, free: 56 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.5461, allocations: 28.69 kB / 0.6739 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1641/0.7102, allocations: 42.78 kB / 0.674 GB, free: 143.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.977e-06/0.7103, allocations: 0 / 0.674 GB, free: 143.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01453/0.7248, allocations: 4.855 MB / 0.6787 GB, free: 143.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.7249, allocations: 88.98 kB / 0.6788 GB, free: 143.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.7258, allocations: 0.7142 MB / 0.6795 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.7259, allocations: 25.7 kB / 0.6795 GB, free: 143 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.726, allocations: 290.4 kB / 0.6798 GB, free: 142.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.7263, allocations: 332.6 kB / 0.6801 GB, free: 142.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.7264, allocations: 0 / 0.6801 GB, free: 142.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.083e-05/0.7265, allocations: 346.3 kB / 0.6805 GB, free: 142.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/0.7271, allocations: 451.7 kB / 0.6809 GB, free: 142.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007116/0.7279, allocations: 0.5781 MB / 0.6815 GB, free: 142.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.7286, allocations: 489 kB / 0.6819 GB, free: 142.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.7286, allocations: 0 / 0.6819 GB, free: 142.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01405/0.7427, allocations: 4.959 MB / 0.6868 GB, free: 141.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.7427, allocations: 7.531 kB / 0.6868 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.7427, allocations: 7.594 kB / 0.6868 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006476/0.7492, allocations: 2.113 MB / 0.6888 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.7498, allocations: 107.2 kB / 0.6889 GB, free: 141.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01897/0.7688, allocations: 7.792 MB / 0.6966 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.7704, allocations: 194.1 kB / 0.6967 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.7705, allocations: 36.38 kB / 0.6968 GB, free: 140.1 MB / 490.7 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.0002171/0.7708, allocations: 128.2 kB / 0.6969 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.771, allocations: 114.3 kB / 0.697 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/0.7866, allocations: 4.995 MB / 0.7019 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/0.7867, allocations: 9.5 kB / 0.7019 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7867, allocations: 1.25 kB / 0.7019 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-05/0.7868, allocations: 6.891 kB / 0.7019 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.8028, allocations: 6.38 MB / 0.7081 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.8028, allocations: 0 / 0.7081 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.8034, allocations: 91.62 kB / 0.7082 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006293/0.8097, allocations: 2.103 MB / 0.7103 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.8098, allocations: 2.156 kB / 0.7103 GB, free: 138.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01627/0.8261, allocations: 7.049 MB / 0.7172 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.8261, allocations: 4.219 kB / 0.7172 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01571/0.8418, allocations: 5.839 MB / 0.7229 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.8423, allocations: 214.2 kB / 0.7231 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.8425, allocations: 0 / 0.7231 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.8437, allocations: 149.2 kB / 0.7232 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/0.8441, allocations: 132.4 kB / 0.7233 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.104e-05/0.8442, allocations: 22.95 kB / 0.7234 GB, free: 134.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0006981/0.8449, allocations: 0.562 MB / 0.7239 GB, free: 133.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001232/0.8461, allocations: 396.8 kB / 0.7243 GB, free: 133.9 MB / 490.7 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.0002225/0.8464, allocations: 130.5 kB / 0.7244 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006457/0.8528, allocations: 2.188 MB / 0.7265 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8529, allocations: 4.781 kB / 0.7266 GB, free: 133.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005282/0.8581, allocations: 1.685 MB / 0.7282 GB, free: 132.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.8587, allocations: 71.52 kB / 0.7283 GB, free: 132.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/0.8623, allocations: 1.642 MB / 0.7299 GB, free: 130.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/0.863, allocations: 1.138 MB / 0.731 GB, free: 129.8 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.863, allocations: 0 / 0.731 GB, free: 129.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02865/0.8916, allocations: 22.7 MB / 0.7531 GB, free: 114.3 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)