Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD") [: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.001893/0.001893, allocations: 190.3 kB / 8.137 MB, free: 2.219 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.11/1.11, allocations: 194.2 MB / 202.8 MB, free: 8.75 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.001809/0.001809, allocations: 116.9 kB / 247.7 MB, free: 6.238 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.76e-06/5.881e-06, allocations: 0 / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07025/0.07027, allocations: 44.48 MB / 342 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.2658, allocations: 76 MB / 418 MB, free: 19.14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001697/0.266, allocations: 65.03 kB / 418.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04392/0.31, allocations: 18.61 MB / 436.7 MB, free: 3.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.265e-05/0.3101, allocations: 35.94 kB / 436.8 MB, free: 3.707 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002177/0.3123, allocations: 1.342 MB / 438.1 MB, free: 2.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3123, allocations: 8.031 kB / 438.1 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.3125, allocations: 146.3 kB / 438.2 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.314, allocations: 0.9203 MB / 439.2 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.154e-05/0.314, allocations: 36 kB / 439.2 MB, free: 1.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.3142, allocations: 71.53 kB / 439.3 MB, free: 1.344 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001569/0.3157, allocations: 1.148 MB / 440.4 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.3176, allocations: 1.351 MB / 441.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.3177, allocations: 0 / 441.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.673e-05/0.3178, allocations: 0 / 441.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.3178, allocations: 28 kB / 441.8 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006211/0.324, allocations: 4.144 MB / 445.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.3247, allocations: 0.5457 MB / 446.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008755/0.3256, allocations: 0.6053 MB / 447.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.3256, allocations: 4.438 kB / 447.1 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3257, allocations: 42.53 kB / 447.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.914e-06/0.3257, allocations: 0 / 447.1 MB, free: 11.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.0008621/0.3265, allocations: 0.5802 MB / 447.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.3266, allocations: 59.34 kB / 447.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008055/0.3274, allocations: 0.683 MB / 448.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.3274, allocations: 29.7 kB / 448.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.3277, allocations: 457.9 kB / 448.9 MB, free: 9.824 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.3278, allocations: 171.2 kB / 449.1 MB, free: 9.676 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.3279, allocations: 0 / 449.1 MB, free: 9.676 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.3281, allocations: 383.4 kB / 449.5 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003614/0.3285, allocations: 284.6 kB / 449.8 MB, free: 9.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.3289, allocations: 376.8 kB / 450.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.3293, allocations: 342.9 kB / 450.5 MB, free: 8.594 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.3294, allocations: 7.906 kB / 450.5 MB, free: 8.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001017/0.3304, allocations: 0.7531 MB / 451.2 MB, free: 8.004 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3304, allocations: 8 kB / 451.2 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3304, allocations: 0 / 451.2 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3304, allocations: 8 kB / 451.2 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/0.3312, allocations: 155.1 kB / 451.4 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3312, allocations: 11.94 kB / 451.4 MB, free: 7.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.3316, allocations: 47.42 kB / 451.4 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.3316, allocations: 26.25 kB / 451.5 MB, free: 7.762 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.3317, allocations: 112.8 kB / 451.6 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.3319, allocations: 79.12 kB / 451.7 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.332, allocations: 88.17 kB / 451.7 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.332, allocations: 4 kB / 451.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.332, allocations: 0 / 451.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.3321, allocations: 0 / 451.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.3346, allocations: 1.716 MB / 453.5 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3346, allocations: 3.938 kB / 453.5 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006158/0.3352, allocations: 122.5 kB / 453.6 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/0.3352, allocations: 15.89 kB / 453.6 MB, free: 6.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.3353, allocations: 4.094 kB / 453.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3353, allocations: 7.938 kB / 453.6 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3353, allocations: 0 / 453.6 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001274/0.3366, allocations: 1.081 MB / 454.7 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001795/0.3368, allocations: 168.4 kB / 454.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.3369, allocations: 0.9375 kB / 454.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.3373, allocations: 43.97 kB / 454.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.76e-05/0.3374, allocations: 33.48 kB / 454.9 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.3375, allocations: 17.86 kB / 455 MB, free: 4.867 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006417/0.3381, allocations: 0.5295 MB / 455.5 MB, free: 4.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006451/0.3388, allocations: 266.8 kB / 455.7 MB, free: 4.219 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,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 (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001841/0.339, allocations: 103.2 kB / 455.8 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008841/0.3399, allocations: 0.6083 MB / 456.5 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3399, allocations: 0 / 456.5 MB, free: 3.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003605/0.3403, allocations: 301 kB / 456.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007283/0.341, allocations: 147.9 kB / 456.9 MB, free: 3.348 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.3442, allocations: 1.815 MB / 458.7 MB, free: 1.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.3453, allocations: 1.419 MB / 460.1 MB, free: 320 kB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3453, allocations: 0 / 460.1 MB, free: 320 kB / 330.7 MB Notification: Performance of Templates: time 0.01492/0.3602, allocations: 7.965 MB / 468.1 MB, free: 8.391 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)