Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.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(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") [: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.001292/0.001292, allocations: 181.9 kB / 7.837 MB, free: 1.012 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.272/1.272, allocations: 221.4 MB / 229.6 MB, free: 7.688 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.0008696/0.0008696, allocations: 87.5 kB / 280.5 MB, free: 5.434 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03236/0.03236, allocations: 8.096 MB / 339.4 MB, free: 7.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.58e-06/5.62e-06, allocations: 0 / 397.9 MB, free: 49.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08815, allocations: 52.51 MB / 450.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09638/0.1846, allocations: 77.7 MB / 0.5157 GB, free: 8.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.1848, allocations: 63.91 kB / 0.5158 GB, free: 8.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.01173/0.1966, allocations: 4.486 MB / 0.5202 GB, free: 3.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.1966, allocations: 0 / 0.5202 GB, free: 3.512 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007497/0.1974, allocations: 466 kB / 0.5206 GB, free: 3.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1974, allocations: 15.97 kB / 0.5206 GB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.1975, allocations: 15.81 kB / 0.5206 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.1977, allocations: 202.1 kB / 0.5208 GB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.1977, allocations: 4 kB / 0.5208 GB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1977, allocations: 11.91 kB / 0.5209 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002402/0.198, allocations: 108 kB / 0.521 GB, free: 2.625 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.1982, allocations: 130.7 kB / 0.5211 GB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1982, allocations: 0 / 0.5211 GB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1983, allocations: 0.875 kB / 0.5211 GB, free: 2.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1983, allocations: 4 kB / 0.5211 GB, free: 2.488 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007917/0.1991, allocations: 0.5084 MB / 0.5216 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1992, allocations: 82.52 kB / 0.5217 GB, free: 1.852 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.403e-05/0.1993, allocations: 38.2 kB / 0.5217 GB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.1995, allocations: 96.98 kB / 0.5218 GB, free: 1.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.1995, allocations: 34.75 kB / 0.5218 GB, free: 1.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.1995, allocations: 3.938 kB / 0.5218 GB, free: 1.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000614/0.2001, allocations: 162.4 kB / 0.522 GB, free: 1.484 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.2002, allocations: 51.41 kB / 0.522 GB, free: 1.422 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.2003, allocations: 116.9 kB / 0.5221 GB, free: 1.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2003, allocations: 25.7 kB / 0.5222 GB, free: 1.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.2004, allocations: 135.5 kB / 0.5223 GB, free: 1.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.2004, allocations: 23.56 kB / 0.5223 GB, free: 1.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.2004, allocations: 0 / 0.5223 GB, free: 1.109 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.2005, allocations: 318.8 kB / 0.5226 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.293e-05/0.2006, allocations: 31.94 kB / 0.5227 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.2006, allocations: 41.8 kB / 0.5227 GB, free: 0.7109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001342/0.2008, allocations: 32.17 kB / 0.5227 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2008, allocations: 0 / 0.5227 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005161/0.2013, allocations: 186.2 kB / 0.5229 GB, free: 500 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2013, allocations: 7.938 kB / 0.5229 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2013, allocations: 0 / 0.5229 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/0.2018, allocations: 76.8 kB / 0.523 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.658e-05/0.2019, allocations: 8 kB / 0.523 GB, free: 404 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1164/0.3183, allocations: 1.457 MB / 0.5244 GB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.3185, allocations: 9.922 kB / 0.5244 GB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.3185, allocations: 0 / 0.5244 GB, free: 121.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.3186, allocations: 111.7 kB / 0.5245 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.3186, allocations: 5.562 kB / 0.5245 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.3192, allocations: 217.1 kB / 0.5247 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3192, allocations: 0 / 0.5247 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3192, allocations: 0 / 0.5247 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3192, allocations: 0 / 0.5247 GB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3194, allocations: 193.2 kB / 0.5249 GB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3194, allocations: 0 / 0.5249 GB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.057e-05/0.3195, allocations: 10.22 kB / 0.5249 GB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/0.3198, allocations: 76.17 kB / 0.525 GB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3198, allocations: 0 / 0.525 GB, free: 121.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001195/0.321, allocations: 1.467 MB / 0.5264 GB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3211, allocations: 0 / 0.5264 GB, free: 120.4 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005155/0.3216, allocations: 278.4 kB / 0.5267 GB, free: 120.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.3216, allocations: 90.52 kB / 0.5268 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.3216, allocations: 2.625 kB / 0.5268 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.3218, allocations: 0 / 0.5268 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.3218, allocations: 10.69 kB / 0.5268 GB, free: 120.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.3218, allocations: 3.781 kB / 0.5268 GB, free: 120.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.71e-05/0.3219, allocations: 95.22 kB / 0.5269 GB, free: 120.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.3222, allocations: 35.95 kB / 0.5269 GB, free: 120.1 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/0.3224, allocations: 117.3 kB / 0.527 GB, free: 120 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004686/0.3228, allocations: 201.8 kB / 0.5272 GB, free: 119.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3229, allocations: 0 / 0.5272 GB, free: 119.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.3232, allocations: 172.9 kB / 0.5274 GB, free: 119.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.3233, allocations: 12.02 kB / 0.5274 GB, free: 119.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.3237, allocations: 152.2 kB / 0.5276 GB, free: 119.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.3239, allocations: 0.7232 MB / 0.5283 GB, free: 119 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3239, allocations: 0 / 0.5283 GB, free: 119 MB / 362.7 MB Notification: Performance of Templates: time 0.003637/0.3275, allocations: 1.657 MB / 0.5299 GB, free: 119 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & ./PowerSysPro_PowerSysPro.Tests.OnePerfectLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1)