Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.PSSE.GENCLS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS") translateModel(OpenIPSL.Tests.Machines.PSSE.GENCLS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.003445/0.003445, allocations: 180.2 kB / 7.454 MB, free: 2.512 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.312/1.312, allocations: 221.4 MB / 229.3 MB, free: 3.055 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.0009741/0.0009741, allocations: 98.28 kB / 280.1 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4087/0.4087, allocations: 78.06 MB / 408.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.932e-06/5.971e-06, allocations: 0 / 484.3 MB, free: 4.438 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2457, allocations: 69.35 MB / 0.5407 GB, free: 21.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3557, allocations: 96.85 MB / 0.6353 GB, free: 7.996 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.3559, allocations: 75.95 kB / 0.6354 GB, free: 7.922 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.08653/0.4425, allocations: 28.35 MB / 0.663 GB, free: 11.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.168e-05/0.4426, allocations: 20 kB / 0.6631 GB, free: 11.32 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.005249/0.4478, allocations: 1.702 MB / 0.6647 GB, free: 9.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.4479, allocations: 15.97 kB / 0.6647 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003337/0.4512, allocations: 0.5057 MB / 0.6652 GB, free: 9.047 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.4527, allocations: 0.7197 MB / 0.6659 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/0.4531, allocations: 337.2 kB / 0.6663 GB, free: 7.887 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.4534, allocations: 47.91 kB / 0.6663 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00191/0.4553, allocations: 0.8397 MB / 0.6671 GB, free: 7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.457, allocations: 0.8407 MB / 0.6679 GB, free: 6.148 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.457, allocations: 0 / 0.6679 GB, free: 6.148 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.569e-05/0.4571, allocations: 0 / 0.6679 GB, free: 6.148 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.4571, allocations: 16 kB / 0.668 GB, free: 6.133 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007547/0.4647, allocations: 3.565 MB / 0.6714 GB, free: 2.422 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.4661, allocations: 0.7565 MB / 0.6722 GB, free: 1.648 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009783/0.4671, allocations: 0.5645 MB / 0.6727 GB, free: 1.078 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.4673, allocations: 16.77 kB / 0.6728 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4673, allocations: 47.34 kB / 0.6728 GB, free: 1.008 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.407e-06/0.4673, allocations: 0 / 0.6728 GB, free: 1.008 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.1665/0.6339, allocations: 4.854 MB / 0.6775 GB, free: 143.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.6339, allocations: 85.98 kB / 0.6776 GB, free: 143.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001501/0.6355, allocations: 0.7187 MB / 0.6783 GB, free: 143.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.6357, allocations: 26.39 kB / 0.6783 GB, free: 143.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.6358, allocations: 289.1 kB / 0.6786 GB, free: 143.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000462/0.6363, allocations: 335.6 kB / 0.6789 GB, free: 143.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.6364, allocations: 0 / 0.6789 GB, free: 143.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.6365, allocations: 338.8 kB / 0.6793 GB, free: 143 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.6377, allocations: 449.7 kB / 0.6797 GB, free: 143 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.639, allocations: 0.5781 MB / 0.6803 GB, free: 142.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.6402, allocations: 490.8 kB / 0.6807 GB, free: 142.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.6402, allocations: 0 / 0.6807 GB, free: 142.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0181/0.6583, allocations: 4.966 MB / 0.6856 GB, free: 142.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6584, allocations: 3.594 kB / 0.6856 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.6584, allocations: 3.719 kB / 0.6856 GB, free: 142.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007187/0.6656, allocations: 2.111 MB / 0.6876 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.6663, allocations: 111.6 kB / 0.6878 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/0.6858, allocations: 7.798 MB / 0.6954 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.6875, allocations: 188.6 kB / 0.6955 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.6876, allocations: 40.66 kB / 0.6956 GB, free: 140.7 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.0002467/0.6879, allocations: 112.1 kB / 0.6957 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.6882, allocations: 119 kB / 0.6958 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/0.704, allocations: 5 MB / 0.7007 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.704, allocations: 9.5 kB / 0.7007 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.704, allocations: 4.594 kB / 0.7007 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.704, allocations: 4.688 kB / 0.7007 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.7212, allocations: 6.373 MB / 0.7069 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.7212, allocations: 3.906 kB / 0.7069 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/0.7218, allocations: 91.55 kB / 0.707 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006617/0.7284, allocations: 2.103 MB / 0.7091 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.7285, allocations: 2.844 kB / 0.7091 GB, free: 139.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/0.7462, allocations: 7.047 MB / 0.716 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7462, allocations: 3.906 kB / 0.716 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01762/0.7638, allocations: 5.843 MB / 0.7217 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.7643, allocations: 218 kB / 0.7219 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003752/0.7647, allocations: 3.719 kB / 0.7219 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/0.7663, allocations: 142.7 kB / 0.722 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/0.7667, allocations: 126.8 kB / 0.7221 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.7668, allocations: 27.47 kB / 0.7222 GB, free: 135.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007681/0.7676, allocations: 0.5605 MB / 0.7227 GB, free: 135 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001369/0.769, allocations: 404.3 kB / 0.7231 GB, free: 135 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.0002401/0.7692, allocations: 133.8 kB / 0.7232 GB, free: 134.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006877/0.7761, allocations: 2.187 MB / 0.7254 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7761, allocations: 0 / 0.7254 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005906/0.782, allocations: 1.685 MB / 0.727 GB, free: 133.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.7828, allocations: 61.58 kB / 0.7271 GB, free: 133.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004323/0.7871, allocations: 1.645 MB / 0.7287 GB, free: 132.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/0.7878, allocations: 1.134 MB / 0.7298 GB, free: 131.4 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.7878, allocations: 0 / 0.7298 GB, free: 131.4 MB / 490.7 MB Notification: Performance of Templates: time 0.03205/0.8199, allocations: 22.71 MB / 0.752 GB, free: 115.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSSE.GENCLS.pipe 2>&1)