Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [: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 3.2.2+maint.om/package.mo): time 0.001652/0.001652, allocations: 186.4 kB / 8.132 MB, free: 2.086 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.211/1.211, allocations: 194.2 MB / 202.8 MB, free: 8.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001799/0.001799, allocations: 116.6 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.23e-06/5.33e-06, allocations: 0 / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06902/0.06905, allocations: 44.48 MB / 342 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.262, allocations: 75.45 MB / 417.5 MB, free: 19.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/0.2623, allocations: 73.09 kB / 417.6 MB, free: 19.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04239/0.3047, allocations: 18.14 MB / 435.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.445e-05/0.3048, allocations: 28 kB / 435.7 MB, free: 4.656 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002308/0.3071, allocations: 1.32 MB / 437.1 MB, free: 3.363 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3072, allocations: 12.02 kB / 437.1 MB, free: 3.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003027/0.3075, allocations: 142.3 kB / 437.2 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.3088, allocations: 0.8689 MB / 438.1 MB, free: 2.465 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.3089, allocations: 36 kB / 438.1 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.309, allocations: 64 kB / 438.2 MB, free: 2.367 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001665/0.3107, allocations: 1.146 MB / 439.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.3125, allocations: 1.338 MB / 440.7 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.3125, allocations: 0 / 440.7 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.747e-05/0.3126, allocations: 0 / 440.7 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.3127, allocations: 28 kB / 440.7 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006258/0.3189, allocations: 4.093 MB / 444.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.3196, allocations: 0.5436 MB / 445.3 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007193/0.3204, allocations: 0.5209 MB / 445.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.3204, allocations: 4.438 kB / 445.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3204, allocations: 42.06 kB / 445.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 1.903e-06/0.3204, allocations: 3.938 kB / 445.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.002636/0.3231, allocations: 1.637 MB / 447.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.3231, allocations: 55.84 kB / 447.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009177/0.3241, allocations: 0.6952 MB / 448.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.675e-05/0.3241, allocations: 25.7 kB / 448.3 MB, free: 10.47 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.3244, allocations: 458.6 kB / 448.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.3245, allocations: 164 kB / 448.9 MB, free: 9.922 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.3245, allocations: 4 kB / 448.9 MB, free: 9.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3247, allocations: 385.3 kB / 449.3 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.3251, allocations: 300 kB / 449.6 MB, free: 9.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.3256, allocations: 386.6 kB / 450 MB, free: 9.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004853/0.3261, allocations: 372.5 kB / 450.3 MB, free: 8.801 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3261, allocations: 0 / 450.3 MB, free: 8.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001275/0.3273, allocations: 0.8705 MB / 451.2 MB, free: 8.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3274, allocations: 4.781 kB / 451.2 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3274, allocations: 4 kB / 451.2 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002723/0.3277, allocations: 109.2 kB / 451.3 MB, free: 8.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.3283, allocations: 131.5 kB / 451.4 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.3304, allocations: 2.059 MB / 453.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.3308, allocations: 15.98 kB / 453.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.3309, allocations: 27.28 kB / 453.5 MB, free: 6.023 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001363/0.331, allocations: 128.7 kB / 453.7 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.3311, allocations: 71.16 kB / 453.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001545/0.3313, allocations: 82.86 kB / 453.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3313, allocations: 4.188 kB / 453.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.3313, allocations: 4 kB / 453.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3313, allocations: 7.922 kB / 453.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002979/0.3343, allocations: 1.836 MB / 455.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.3344, allocations: 0 / 455.7 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/0.3348, allocations: 95.92 kB / 455.8 MB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/0.335, allocations: 111.5 kB / 455.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.3351, allocations: 4 kB / 455.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/0.337, allocations: 2.044 MB / 457.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3371, allocations: 0 / 457.9 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001638/0.3387, allocations: 1.278 MB / 459.2 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.3389, allocations: 160.2 kB / 459.4 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.3391, allocations: 8 kB / 459.4 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000476/0.3396, allocations: 44.09 kB / 459.4 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3397, allocations: 40.28 kB / 459.4 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.3397, allocations: 12 kB / 459.5 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0007114/0.3404, allocations: 0.5342 MB / 460 MB, free: 200 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007879/0.3412, allocations: 196 kB / 460.2 MB, free: 4 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001674/0.3414, allocations: 107.2 kB / 460.3 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.3426, allocations: 0.7796 MB / 461.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3426, allocations: 4 kB / 461.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006807/0.3433, allocations: 468.2 kB / 461.5 MB, free: 14.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007399/0.3441, allocations: 131.1 kB / 461.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003362/0.3474, allocations: 1.759 MB / 463.4 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.3486, allocations: 1.412 MB / 464.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3486, allocations: 0 / 464.8 MB, free: 11.25 MB / 346.7 MB Notification: Performance of Templates: time 0.01585/0.3645, allocations: 8.559 MB / 473.4 MB, free: 2.746 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1)