Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier") [: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.004311/0.004311, allocations: 178.5 kB / 7.454 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.396/1.396, allocations: 170.6 MB / 178.4 MB, free: 15.72 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.001665/0.001665, allocations: 112.7 kB / 217.7 MB, free: 8.492 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.008e-05/1.011e-05, allocations: 0 / 261.8 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09729/0.09732, allocations: 38.75 MB / 300.5 MB, free: 3.926 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3275/0.4249, allocations: 70.14 MB / 370.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4252, allocations: 70.53 kB / 370.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.04383/0.469, allocations: 15.63 MB / 386.4 MB, free: 1.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001151/0.4692, allocations: 31.92 kB / 386.4 MB, free: 1.547 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003259/0.4725, allocations: 1.158 MB / 387.5 MB, free: 416 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4725, allocations: 8.031 kB / 387.5 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005567/0.4731, allocations: 118.6 kB / 387.7 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.4749, allocations: 0.7257 MB / 388.4 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.475, allocations: 28 kB / 388.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002904/0.4753, allocations: 52 kB / 388.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002166/0.4775, allocations: 0.9915 MB / 389.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/0.4798, allocations: 1.08 MB / 390.5 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.4799, allocations: 3.906 kB / 390.5 MB, free: 14.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/0.48, allocations: 4 kB / 390.5 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.48, allocations: 20 kB / 390.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00753/0.4875, allocations: 3.656 MB / 394.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.4884, allocations: 496.9 kB / 394.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001526/0.4899, allocations: 0.8673 MB / 395.6 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.566e-05/0.49, allocations: 8.656 kB / 395.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.4901, allocations: 49.73 kB / 395.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=71): time 3.496e-06/0.4901, allocations: 0 / 395.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=72): time 0.004138/0.4942, allocations: 2.129 MB / 397.8 MB, free: 8.406 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.4943, allocations: 59.97 kB / 397.8 MB, free: 8.336 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.4954, allocations: 0.5742 MB / 398.4 MB, free: 7.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.4954, allocations: 25.7 kB / 398.4 MB, free: 7.855 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.4957, allocations: 323.8 kB / 398.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.4959, allocations: 238 kB / 399 MB, free: 7.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.496, allocations: 0 / 399 MB, free: 7.359 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.4962, allocations: 380 kB / 399.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/0.4967, allocations: 345.6 kB / 399.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006118/0.4973, allocations: 392.6 kB / 400.1 MB, free: 6.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.498, allocations: 383.1 kB / 400.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.498, allocations: 8 kB / 400.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002131/0.5001, allocations: 1.124 MB / 401.6 MB, free: 5.395 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.5001, allocations: 4 kB / 401.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.5002, allocations: 8.062 kB / 401.6 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.5015, allocations: 456.5 kB / 402 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.502, allocations: 106.2 kB / 402.1 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.5128, allocations: 7.945 MB / 410.1 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/0.5136, allocations: 15.98 kB / 410.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.5138, allocations: 31.89 kB / 410.1 MB, free: 12.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * 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: 4 * 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: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003267/0.5142, allocations: 114.3 kB / 410.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/0.5145, allocations: 71.16 kB / 410.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000435/0.515, allocations: 94.64 kB / 410.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.515, allocations: 11.91 kB / 410.4 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.82e-05/0.5151, allocations: 3.938 kB / 410.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.5151, allocations: 3.984 kB / 410.4 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008126/0.5232, allocations: 2.338 MB / 412.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.5233, allocations: 0 / 412.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008403/0.5242, allocations: 87.88 kB / 412.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002098/0.5263, allocations: 459.3 kB / 413.3 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.609e-05/0.5264, allocations: 3.984 kB / 413.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/0.5407, allocations: 7.853 MB / 421.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.245e-05/0.5408, allocations: 8.062 kB / 421.1 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005021/0.5458, allocations: 1.803 MB / 422.9 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009208/0.5468, allocations: 236.2 kB / 423.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003622/0.5472, allocations: 7.906 kB / 423.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008963/0.5481, allocations: 27.97 kB / 423.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/0.5484, allocations: 48.58 kB / 423.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.226e-05/0.5485, allocations: 20 kB / 423.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001357/0.5499, allocations: 462.8 kB / 423.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002271/0.5522, allocations: 216 kB / 423.9 MB, free: 14.12 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003443/0.5526, allocations: 111.8 kB / 424.1 MB, free: 14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00378/0.5564, allocations: 1.302 MB / 425.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.5564, allocations: 4 kB / 425.4 MB, free: 12.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002597/0.559, allocations: 0.9426 MB / 426.3 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/0.5611, allocations: 159.7 kB / 426.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007894/0.569, allocations: 1.82 MB / 428.3 MB, free: 9.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/0.5709, allocations: 1.286 MB / 429.6 MB, free: 8.348 MB / 314.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5709, allocations: 0 / 429.6 MB, free: 8.348 MB / 314.7 MB Notification: Performance of Templates: time 0.02707/0.598, allocations: 13.01 MB / 442.6 MB, free: 11.32 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)