Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003113/0.003113, allocations: 173.3 kB / 7.448 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.389/1.389, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001674/0.001674, allocations: 128.3 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.164e-06/7.193e-06, allocations: 0 / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08848, allocations: 38.77 MB / 300.5 MB, free: 3.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.311/0.3995, allocations: 70.8 MB / 371.3 MB, free: 13.93 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3998, allocations: 69.66 kB / 371.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.05154/0.4514, allocations: 18.93 MB / 390.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001297/0.4515, allocations: 31.94 kB / 390.3 MB, free: 14.04 MB / 282.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.003797/0.4553, allocations: 1.348 MB / 391.7 MB, free: 12.72 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.4554, allocations: 8.031 kB / 391.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006468/0.4561, allocations: 150.2 kB / 391.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002327/0.4584, allocations: 0.9247 MB / 392.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-05/0.4585, allocations: 36 kB / 392.8 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002548/0.4587, allocations: 71.84 kB / 392.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002152/0.4609, allocations: 1.142 MB / 394 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002445/0.4634, allocations: 1.348 MB / 395.3 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.4634, allocations: 0 / 395.3 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.4635, allocations: 0 / 395.3 MB, free: 9.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.38e-05/0.4636, allocations: 28 kB / 395.4 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008226/0.4718, allocations: 4.148 MB / 399.5 MB, free: 6.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007153/0.4725, allocations: 0.5436 MB / 400.1 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009282/0.4735, allocations: 0.6037 MB / 400.7 MB, free: 5.699 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.4735, allocations: 8.422 kB / 400.7 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.4736, allocations: 45.97 kB / 400.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of pre-optimization done (n=51): time 3.106e-06/0.4736, allocations: 0 / 400.7 MB, free: 5.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=51): time 0.001105/0.4747, allocations: 0.5768 MB / 401.3 MB, free: 5.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4748, allocations: 59.28 kB / 401.4 MB, free: 5.117 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.4759, allocations: 0.6842 MB / 402 MB, free: 4.586 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.476, allocations: 29.64 kB / 402.1 MB, free: 4.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/0.4763, allocations: 468.2 kB / 402.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.4765, allocations: 170.8 kB / 402.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.4766, allocations: 0 / 402.7 MB, free: 3.988 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.4768, allocations: 387 kB / 403.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.4772, allocations: 284.8 kB / 403.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.4777, allocations: 374.6 kB / 403.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005421/0.4782, allocations: 349.1 kB / 404.1 MB, free: 2.898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.4782, allocations: 4 kB / 404.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001267/0.4795, allocations: 0.7517 MB / 404.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4795, allocations: 4 kB / 404.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.4796, allocations: 4 kB / 404.8 MB, free: 2.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4796, allocations: 4 kB / 404.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.4803, allocations: 160.1 kB / 405 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.4803, allocations: 7.984 kB / 405 MB, free: 2.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004716/0.4808, allocations: 51.42 kB / 405 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.4808, allocations: 27.94 kB / 405.1 MB, free: 1.957 MB / 282.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.0001489/0.481, allocations: 112.9 kB / 405.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.4812, allocations: 71.16 kB / 405.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.4814, allocations: 82.86 kB / 405.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.4814, allocations: 8 kB / 405.3 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.4814, allocations: 3.938 kB / 405.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.4814, allocations: 7.891 kB / 405.3 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.4845, allocations: 1.715 MB / 407.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.4845, allocations: 0 / 407.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.4851, allocations: 123.9 kB / 407.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/0.4851, allocations: 7.938 kB / 407.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.4852, allocations: 3.984 kB / 407.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.4852, allocations: 4 kB / 407.2 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.4852, allocations: 4.062 kB / 407.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00139/0.4866, allocations: 1.084 MB / 408.3 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.487, allocations: 232 kB / 408.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.4872, allocations: 4 kB / 408.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004557/0.4876, allocations: 43.95 kB / 408.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.4878, allocations: 32.39 kB / 408.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.15e-05/0.4878, allocations: 15.94 kB / 408.6 MB, free: 14.28 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0007187/0.4885, allocations: 0.5381 MB / 409.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008745/0.4894, allocations: 270.7 kB / 409.4 MB, free: 13.48 MB / 298.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.0001885/0.4896, allocations: 103.1 kB / 409.5 MB, free: 13.37 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000956/0.4906, allocations: 0.6086 MB / 410.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4906, allocations: 4 kB / 410.1 MB, free: 12.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.491, allocations: 297.4 kB / 410.4 MB, free: 12.46 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.4918, allocations: 135.6 kB / 410.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.4959, allocations: 1.821 MB / 412.4 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/0.4974, allocations: 1.432 MB / 413.8 MB, free: 9.008 MB / 298.7 MB Notification: Performance of SimCode: time 4.61e-07/0.4974, allocations: 3.938 kB / 413.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of Templates: time 0.0174/0.5148, allocations: 7.979 MB / 421.8 MB, free: 1.02 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1)