Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") [: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.001834/0.001834, allocations: 190.9 kB / 8.136 MB, free: 2.195 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.19/1.19, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001799/0.001799, allocations: 118.8 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.901e-06, allocations: 0 / 297.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07461/0.07463, allocations: 44.48 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.271/0.3457, allocations: 74.49 MB / 416.6 MB, free: 20.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/0.3462, allocations: 84.58 kB / 416.6 MB, free: 20.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02606/0.3722, allocations: 5.837 MB / 422.5 MB, free: 16.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.645e-05/0.3723, allocations: 12.64 kB / 422.5 MB, free: 16.05 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001219/0.3735, allocations: 0.6155 MB / 423.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3736, allocations: 8.031 kB / 423.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3737, allocations: 47.44 kB / 423.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000609/0.3744, allocations: 330.7 kB / 423.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.3744, allocations: 12 kB / 423.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.367e-05/0.3745, allocations: 27.98 kB / 423.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006719/0.3752, allocations: 207.2 kB / 423.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.376, allocations: 314.6 kB / 424 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.376, allocations: 3.984 kB / 424 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.444e-05/0.3761, allocations: 0 / 424 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.3761, allocations: 8 kB / 424 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002768/0.3789, allocations: 1.401 MB / 425.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.3794, allocations: 194 kB / 425.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004655/0.3799, allocations: 147.2 kB / 425.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.3799, allocations: 12.16 kB / 425.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004127/0.3804, allocations: 188 kB / 426 MB, free: 12.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 2.575e-06/0.3804, allocations: 0 / 426 MB, free: 12.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.0009426/0.3813, allocations: 280.9 kB / 426.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3814, allocations: 114.8 kB / 426.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.3817, allocations: 238.4 kB / 426.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.3818, allocations: 33.33 kB / 426.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.849e-05/0.3819, allocations: 178.8 kB / 426.8 MB, free: 12.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.382, allocations: 92.28 kB / 426.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.382, allocations: 0 / 426.9 MB, free: 12.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.597e-05/0.3821, allocations: 341.7 kB / 427.2 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.3823, allocations: 72.78 kB / 427.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.3826, allocations: 192.5 kB / 427.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.3829, allocations: 88.81 kB / 427.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3829, allocations: 4 kB / 427.6 MB, free: 11.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000902/0.3838, allocations: 334.9 kB / 427.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3838, allocations: 4.781 kB / 427.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3839, allocations: 4.469 kB / 427.9 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004571/0.3843, allocations: 85.38 kB / 428 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.3847, allocations: 59.59 kB / 428 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/0.3867, allocations: 1.598 MB / 429.6 MB, free: 9.562 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.3871, allocations: 35.67 kB / 429.7 MB, free: 9.527 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.3872, allocations: 15.75 kB / 429.7 MB, free: 9.516 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.3874, allocations: 133.7 kB / 429.8 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.3875, allocations: 31.62 kB / 429.9 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.3876, allocations: 43.25 kB / 429.9 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.3876, allocations: 4 kB / 429.9 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3876, allocations: 0 / 429.9 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3876, allocations: 7.984 kB / 429.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000822/0.3885, allocations: 0.4931 MB / 430.4 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.3885, allocations: 0 / 430.4 MB, free: 8.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.3888, allocations: 45.14 kB / 430.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003899/0.3892, allocations: 74.38 kB / 430.5 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.766e-05/0.3893, allocations: 4 kB / 430.5 MB, free: 8.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.3914, allocations: 1.586 MB / 432.1 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.3914, allocations: 1.781 kB / 432.1 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001242/0.3927, allocations: 465.6 kB / 432.6 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.3929, allocations: 133.4 kB / 432.7 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.43e-05/0.393, allocations: 3.438 kB / 432.7 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.3933, allocations: 19.98 kB / 432.7 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.3934, allocations: 19.41 kB / 432.7 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.3935, allocations: 4 kB / 432.7 MB, free: 6.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000241/0.3937, allocations: 187.4 kB / 432.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007463/0.3945, allocations: 105.1 kB / 433 MB, free: 6.445 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001919/0.3947, allocations: 111.6 kB / 433.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.3956, allocations: 337.3 kB / 433.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3956, allocations: 0 / 433.5 MB, free: 6.059 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.3961, allocations: 228.3 kB / 433.7 MB, free: 5.863 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.3965, allocations: 44.5 kB / 433.7 MB, free: 5.832 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.3983, allocations: 472.1 kB / 434.2 MB, free: 5.391 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003986/0.3987, allocations: 0.8416 MB / 435 MB, free: 4.52 MB / 314.7 MB Notification: Performance of SimCode: time 8.42e-07/0.3987, allocations: 0 / 435 MB, free: 4.52 MB / 314.7 MB Notification: Performance of Templates: time 0.01369/0.4124, allocations: 4.126 MB / 439.2 MB, free: 0.4922 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)