Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") [: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.001021/0.001021, allocations: 186.4 kB / 7.839 MB, free: 2.52 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.374/1.374, allocations: 221.4 MB / 229.7 MB, free: 3.383 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.00115/0.00115, allocations: 100.1 kB / 280.5 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04282/0.04282, allocations: 8.089 MB / 339.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.574e-06, allocations: 0 / 397.9 MB, free: 68.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 52.52 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/0.4102, allocations: 78.59 MB / 0.5166 GB, free: 15.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.4105, allocations: 67.22 kB / 0.5167 GB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0138/0.4243, allocations: 4.945 MB / 0.5215 GB, free: 11.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.4243, allocations: 0 / 0.5215 GB, free: 11.76 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001186/0.4255, allocations: 0.4982 MB / 0.522 GB, free: 11.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.4256, allocations: 11.97 kB / 0.522 GB, free: 11.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.308e-05/0.4257, allocations: 15.81 kB / 0.522 GB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.426, allocations: 204.1 kB / 0.5222 GB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.426, allocations: 4 kB / 0.5222 GB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.426, allocations: 8 kB / 0.5222 GB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002507/0.4263, allocations: 112.3 kB / 0.5223 GB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.4265, allocations: 142 kB / 0.5225 GB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.4266, allocations: 0 / 0.5225 GB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.4266, allocations: 0 / 0.5225 GB, free: 10.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.4266, allocations: 7.906 kB / 0.5225 GB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.4278, allocations: 0.5605 MB / 0.523 GB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.4284, allocations: 132.1 kB / 0.5231 GB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.452e-05/0.4285, allocations: 38.25 kB / 0.5232 GB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/0.4286, allocations: 89.09 kB / 0.5233 GB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.4287, allocations: 30.56 kB / 0.5233 GB, free: 9.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.4287, allocations: 0 / 0.5233 GB, free: 9.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006023/0.4293, allocations: 137.5 kB / 0.5234 GB, free: 9.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.673e-05/0.4294, allocations: 85.11 kB / 0.5235 GB, free: 9.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.4296, allocations: 159.7 kB / 0.5237 GB, free: 9.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.4296, allocations: 25.7 kB / 0.5237 GB, free: 9.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.4297, allocations: 122.2 kB / 0.5238 GB, free: 9.488 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.4297, allocations: 23.03 kB / 0.5238 GB, free: 9.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.4297, allocations: 3.938 kB / 0.5238 GB, free: 9.465 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4299, allocations: 322.3 kB / 0.5241 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.4299, allocations: 40 kB / 0.5242 GB, free: 9.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.375e-05/0.43, allocations: 85.61 kB / 0.5243 GB, free: 9.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.4302, allocations: 66.05 kB / 0.5243 GB, free: 9.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4302, allocations: 0 / 0.5243 GB, free: 9.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006114/0.4309, allocations: 218.5 kB / 0.5245 GB, free: 8.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4309, allocations: 4 kB / 0.5245 GB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4309, allocations: 4 kB / 0.5245 GB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004492/0.4314, allocations: 60.17 kB / 0.5246 GB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.4315, allocations: 24.73 kB / 0.5246 GB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.433, allocations: 1.314 MB / 0.5259 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.4332, allocations: 12.47 kB / 0.5259 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.4333, allocations: 7.062 kB / 0.5259 GB, free: 7.375 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.4334, allocations: 113.9 kB / 0.526 GB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.4334, allocations: 7.906 kB / 0.526 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.4339, allocations: 159.3 kB / 0.5262 GB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.4339, allocations: 4 kB / 0.5262 GB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.434, allocations: 7.938 kB / 0.5262 GB, free: 7.105 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.434, allocations: 3.984 kB / 0.5262 GB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006869/0.4347, allocations: 440.5 kB / 0.5266 GB, free: 6.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4347, allocations: 4.094 kB / 0.5266 GB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.576e-05/0.4347, allocations: 11.98 kB / 0.5266 GB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/0.4351, allocations: 60.31 kB / 0.5267 GB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.4351, allocations: 3.906 kB / 0.5267 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.4364, allocations: 1.308 MB / 0.528 GB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4364, allocations: 0 / 0.528 GB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005092/0.4369, allocations: 287.2 kB / 0.5282 GB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.437, allocations: 95.88 kB / 0.5283 GB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.4371, allocations: 4 kB / 0.5283 GB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.4372, allocations: 11.94 kB / 0.5284 GB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.4372, allocations: 11.14 kB / 0.5284 GB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.4373, allocations: 4 kB / 0.5284 GB, free: 4.816 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001128/0.4374, allocations: 128.2 kB / 0.5285 GB, free: 4.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003525/0.4377, allocations: 32 kB / 0.5285 GB, free: 4.68 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002143/0.438, allocations: 111.2 kB / 0.5286 GB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005482/0.4385, allocations: 209.8 kB / 0.5288 GB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4385, allocations: 0 / 0.5288 GB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000307/0.4388, allocations: 152.2 kB / 0.529 GB, free: 4.238 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.4391, allocations: 11.94 kB / 0.529 GB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.4395, allocations: 164.8 kB / 0.5291 GB, free: 4.059 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.4399, allocations: 0.7196 MB / 0.5298 GB, free: 3.312 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4399, allocations: 0 / 0.5298 GB, free: 3.312 MB / 346.7 MB Notification: Performance of Templates: time 0.005329/0.4452, allocations: 1.71 MB / 0.5315 GB, free: 1.621 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1)