Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001468/0.001468, allocations: 191.6 kB / 8.135 MB, free: 2.199 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.149/1.149, 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.001625/0.001625, allocations: 119.6 kB / 247.7 MB, free: 6.367 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.732e-06, allocations: 0 / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07522/0.07525, allocations: 44.49 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.2656, allocations: 75.45 MB / 417.5 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.2658, allocations: 67.31 kB / 417.6 MB, free: 19.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03873/0.3045, allocations: 15.99 MB / 433.6 MB, free: 6.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.255e-05/0.3046, allocations: 24 kB / 433.6 MB, free: 6.711 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00203/0.3067, allocations: 1.163 MB / 434.8 MB, free: 5.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3067, allocations: 8.031 kB / 434.8 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.307, allocations: 118.6 kB / 434.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.3082, allocations: 0.7193 MB / 435.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.3082, allocations: 28 kB / 435.6 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3084, allocations: 52 kB / 435.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001423/0.3098, allocations: 0.989 MB / 436.7 MB, free: 4.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.3112, allocations: 1.078 MB / 437.7 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.3113, allocations: 0 / 437.7 MB, free: 3.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.3114, allocations: 4 kB / 437.7 MB, free: 3.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.3114, allocations: 20 kB / 437.8 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.3162, allocations: 3.652 MB / 441.4 MB, free: 364 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.3168, allocations: 0.4886 MB / 441.9 MB, free: 12 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.3181, allocations: 0.8702 MB / 442.8 MB, free: 15.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.719e-05/0.3182, allocations: 16.56 kB / 442.8 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3182, allocations: 42.58 kB / 442.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 2.004e-06/0.3182, allocations: 0 / 442.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=72): time 0.003234/0.3214, allocations: 2.128 MB / 445 MB, free: 13.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.3215, allocations: 60.06 kB / 445 MB, free: 13.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/0.3224, allocations: 0.576 MB / 445.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/0.3225, allocations: 25.7 kB / 445.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.3226, allocations: 312.7 kB / 445.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.3228, allocations: 236.6 kB / 446.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.3229, allocations: 4 kB / 446.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.3231, allocations: 382 kB / 446.5 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.3236, allocations: 347.2 kB / 446.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004805/0.3241, allocations: 404.4 kB / 447.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.3245, allocations: 379 kB / 447.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3246, allocations: 0 / 447.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001611/0.3262, allocations: 1.134 MB / 448.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3262, allocations: 4 kB / 448.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3262, allocations: 0 / 448.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.3272, allocations: 463.2 kB / 449.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005593/0.3278, allocations: 107.1 kB / 449.3 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/0.3354, allocations: 7.953 MB / 457.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.3358, allocations: 15.98 kB / 457.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.3358, allocations: 19.94 kB / 457.3 MB, free: 2.707 MB / 330.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.0001515/0.336, allocations: 116.7 kB / 457.4 MB, free: 2.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3361, allocations: 79.12 kB / 457.5 MB, free: 2.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3363, allocations: 93.66 kB / 457.6 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3363, allocations: 7.984 kB / 457.6 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.3363, allocations: 4 kB / 457.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3364, allocations: 0 / 457.6 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.3402, allocations: 2.326 MB / 459.9 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3402, allocations: 8 kB / 459.9 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.3406, allocations: 75.95 kB / 460 MB, free: 124 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009991/0.3417, allocations: 467.2 kB / 460.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.3417, allocations: 8 kB / 460.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009019/0.3507, allocations: 7.857 MB / 468.3 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3508, allocations: 0 / 468.3 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004155/0.355, allocations: 1.81 MB / 470.2 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006993/0.3557, allocations: 236.1 kB / 470.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.356, allocations: 7.984 kB / 470.4 MB, free: 5.211 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006956/0.3567, allocations: 19.98 kB / 470.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002114/0.3569, allocations: 52.58 kB / 470.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.357, allocations: 19.98 kB / 470.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0009514/0.358, allocations: 458.8 kB / 470.9 MB, free: 4.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001825/0.3598, allocations: 216 kB / 471.1 MB, free: 4.465 MB / 346.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.0002512/0.3601, allocations: 111.1 kB / 471.3 MB, free: 4.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002965/0.3631, allocations: 1.304 MB / 472.6 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3631, allocations: 4.125 kB / 472.6 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.3654, allocations: 0.9491 MB / 473.5 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.3671, allocations: 165.8 kB / 473.7 MB, free: 1.852 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/0.3737, allocations: 1.789 MB / 475.5 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/0.3754, allocations: 1.282 MB / 476.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of SimCode: time 3.176e-06/0.3754, allocations: 0 / 476.7 MB, free: 14.71 MB / 362.7 MB Notification: Performance of Templates: time 0.03183/0.4072, allocations: 13.02 MB / 489.8 MB, free: 1.73 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1)