Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [: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.0009912/0.0009912, allocations: 189.8 kB / 8.136 MB, free: 2.215 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.063/1.063, allocations: 194.2 MB / 202.8 MB, free: 8.742 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.001737/0.001737, allocations: 128.1 kB / 247.8 MB, free: 6.223 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.075e-06, allocations: 4 kB / 297.6 MB, free: 7.977 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06672/0.06674, allocations: 44.47 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.2593, allocations: 85.26 MB / 427.3 MB, free: 9.965 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.2596, allocations: 82.12 kB / 427.4 MB, free: 9.926 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1619/0.4215, allocations: 63.24 MB / 490.6 MB, free: 2.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000164/0.4217, allocations: 59.94 kB / 490.7 MB, free: 1.965 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.004347/0.426, allocations: 2.279 MB / 493 MB, free: 15.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.4261, allocations: 8.031 kB / 493 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008689/0.427, allocations: 312.7 kB / 493.3 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.4297, allocations: 1.576 MB / 494.9 MB, free: 13.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/0.4298, allocations: 76 kB / 494.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003049/0.4301, allocations: 139.8 kB / 495.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003801/0.4339, allocations: 2.379 MB / 497.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004452/0.4384, allocations: 2.774 MB / 0.4885 GB, free: 8.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.4384, allocations: 3.938 kB / 0.4885 GB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001973/0.4386, allocations: 4 kB / 0.4885 GB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.4388, allocations: 108.4 kB / 0.4886 GB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.4531, allocations: 8.542 MB / 0.4969 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/0.4572, allocations: 1.688 MB / 0.4986 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003443/0.4606, allocations: 1.412 MB / 0.5 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004497/0.4611, allocations: 138.3 kB / 0.5001 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.4612, allocations: 47.88 kB / 0.5002 GB, free: 12.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=128): time 6.011e-06/0.4612, allocations: 4 kB / 0.5002 GB, free: 12.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.012/0.4732, allocations: 4.014 MB / 0.5041 GB, free: 7.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.4733, allocations: 68.72 kB / 0.5041 GB, free: 7.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002701/0.476, allocations: 1.077 MB / 0.5052 GB, free: 6.785 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.4762, allocations: 29.7 kB / 0.5052 GB, free: 6.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007308/0.4769, allocations: 0.7676 MB / 0.506 GB, free: 5.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005781/0.4775, allocations: 417.6 kB / 0.5064 GB, free: 5.555 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.4776, allocations: 3.938 kB / 0.5064 GB, free: 5.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.4779, allocations: 357.9 kB / 0.5067 GB, free: 5.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.4796, allocations: 0.678 MB / 0.5074 GB, free: 4.516 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.4815, allocations: 0.8284 MB / 0.5082 GB, free: 3.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.4836, allocations: 0.8065 MB / 0.509 GB, free: 2.836 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4836, allocations: 0 / 0.509 GB, free: 2.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.006347/0.49, allocations: 2.187 MB / 0.5111 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.49, allocations: 4 kB / 0.5111 GB, free: 0.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.49, allocations: 7.906 kB / 0.5111 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1252/0.6152, allocations: 0.7026 MB / 0.5118 GB, free: 66.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.6163, allocations: 209.3 kB / 0.512 GB, free: 66.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008714/0.625, allocations: 9.801 MB / 0.5216 GB, free: 61.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009783/0.6261, allocations: 19.66 kB / 0.5216 GB, free: 61.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.6262, allocations: 45.38 kB / 0.5216 GB, free: 61.47 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002617/0.6265, allocations: 134.2 kB / 0.5218 GB, free: 61.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/0.6268, allocations: 144.5 kB / 0.5219 GB, free: 61.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/0.6297, allocations: 2.067 MB / 0.5239 GB, free: 61.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.6297, allocations: 14.94 kB / 0.5239 GB, free: 61.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6298, allocations: 7.594 kB / 0.5239 GB, free: 61.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6298, allocations: 6.844 kB / 0.524 GB, free: 61.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/0.6356, allocations: 4.269 MB / 0.5281 GB, free: 60.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6356, allocations: 0 / 0.5281 GB, free: 60.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007667/0.6364, allocations: 166.4 kB / 0.5283 GB, free: 60.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.638, allocations: 0.7024 MB / 0.529 GB, free: 60.85 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.638, allocations: 9.812 kB / 0.529 GB, free: 60.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008254/0.6463, allocations: 9.767 MB / 0.5385 GB, free: 55.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.6463, allocations: 3.906 kB / 0.5385 GB, free: 55.78 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003693/0.65, allocations: 3.201 MB / 0.5416 GB, free: 55.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007178/0.6508, allocations: 390.4 kB / 0.542 GB, free: 55.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.6511, allocations: 10.19 kB / 0.542 GB, free: 55.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/0.6519, allocations: 51.56 kB / 0.5421 GB, free: 55.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/0.6521, allocations: 83.64 kB / 0.5422 GB, free: 55.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.211e-05/0.6522, allocations: 41.42 kB / 0.5422 GB, free: 55.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001015/0.6532, allocations: 0.8327 MB / 0.543 GB, free: 55.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001568/0.6548, allocations: 467.2 kB / 0.5435 GB, free: 55.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003351/0.6552, allocations: 178.3 kB / 0.5436 GB, free: 55.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002613/0.6578, allocations: 2.188 MB / 0.5458 GB, free: 54.64 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6578, allocations: 2.781 kB / 0.5458 GB, free: 54.64 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001689/0.6595, allocations: 1.434 MB / 0.5472 GB, free: 54.22 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.6608, allocations: 323.6 kB / 0.5475 GB, free: 54.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.6669, allocations: 3.719 MB / 0.5511 GB, free: 53.49 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001623/0.6685, allocations: 2.132 MB / 0.5532 GB, free: 52.76 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.6685, allocations: 0 / 0.5532 GB, free: 52.76 MB / 394.7 MB Notification: Performance of Templates: time 0.03951/0.708, allocations: 24.79 MB / 0.5774 GB, free: 51.48 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)