Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.001311, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007859/0.0007861, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2571, allocations: 47.58 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.003814/0.261, allocations: 2.959 MB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002063/0.263, allocations: 1.03 MB / 330.4 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002284/0.2633, allocations: 11.62 kB / 330.5 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002226/0.2635, allocations: 84.48 kB / 330.5 MB, free: 14.24 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFTyping.typeBindings: time 0.0006883/0.2642, allocations: 207 kB / 330.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.2645, allocations: 94.02 kB / 330.8 MB, free: 14 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFFlatten.flatten: time 0.0007376/0.2652, allocations: 0.5771 MB / 331.4 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005708/0.2658, allocations: 394.8 kB / 331.8 MB, free: 13.43 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:4970:20-4970:43:writable] Warning: 'each' used when modifying non-array element diode. Notification: Performance of NFEvalConstants.evaluate: time 0.0003755/0.2662, allocations: 282.8 kB / 332.1 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005017/0.2667, allocations: 361.6 kB / 332.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.249e-05/0.2668, allocations: 42.88 kB / 332.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.2669, allocations: 45.62 kB / 332.5 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002121/0.2671, allocations: 200.5 kB / 332.7 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.2673, allocations: 180.6 kB / 332.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009648/0.2683, allocations: 0.9948 MB / 333.9 MB, free: 12.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2683, allocations: 0 / 333.9 MB, free: 12.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2683, allocations: 3.938 kB / 333.9 MB, free: 12.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.2684, allocations: 1.031 kB / 333.9 MB, free: 12.07 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001783/0.2701, allocations: 1.021 MB / 334.9 MB, free: 11 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.57e-05/0.2703, allocations: 8.031 kB / 334.9 MB, free: 10.99 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.2704, allocations: 90.95 kB / 335 MB, free: 10.9 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008806/0.2713, allocations: 0.5759 MB / 335.6 MB, free: 10.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/0.2713, allocations: 49.27 kB / 335.6 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.2715, allocations: 68 kB / 335.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.2729, allocations: 0.9072 MB / 336.6 MB, free: 9.234 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.2729, allocations: 4 kB / 336.6 MB, free: 9.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.788e-05/0.273, allocations: 24 kB / 336.6 MB, free: 9.207 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/0.2731, allocations: 33.3 kB / 336.7 MB, free: 9.176 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.2744, allocations: 0.7975 MB / 337.5 MB, free: 8.375 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004064/0.2784, allocations: 2.803 MB / 340.3 MB, free: 5.461 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009045/0.2793, allocations: 0.7534 MB / 341 MB, free: 4.645 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/0.2794, allocations: 8.312 kB / 341 MB, free: 4.637 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005945/0.28, allocations: 377 kB / 341.4 MB, free: 4.25 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.28, allocations: 0 / 341.4 MB, free: 4.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002586/0.2826, allocations: 1.202 MB / 342.6 MB, free: 3.02 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.2827, allocations: 85.11 kB / 342.7 MB, free: 2.918 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000646/0.2833, allocations: 0.5644 MB / 343.2 MB, free: 2.344 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.2834, allocations: 33.7 kB / 343.3 MB, free: 2.305 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002457/0.2836, allocations: 355.9 kB / 343.6 MB, free: 1.953 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.2838, allocations: 142 kB / 343.8 MB, free: 1.812 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.2838, allocations: 4 kB / 343.8 MB, free: 1.809 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.284, allocations: 370.7 kB / 344.1 MB, free: 1.438 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003662/0.2843, allocations: 229 kB / 344.4 MB, free: 1.215 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004827/0.2848, allocations: 360.8 kB / 344.7 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.2852, allocations: 256.4 kB / 345 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2852, allocations: 0 / 345 MB, free: 0.5547 MB / 270.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001218/0.2865, allocations: 0.7628 MB / 345.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.2865, allocations: 8 kB / 345.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2865, allocations: 4.047 kB / 345.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/0.2871, allocations: 208.9 kB / 345.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.2874, allocations: 75.89 kB / 346 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/0.2908, allocations: 2.725 MB / 348.7 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.2912, allocations: 55.7 kB / 348.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.2913, allocations: 23.94 kB / 348.8 MB, free: 12.55 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005003/0.2918, allocations: 325.4 kB / 349.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/0.2919, allocations: 55.3 kB / 349.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.292, allocations: 73.27 kB / 349.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.292, allocations: 4 kB / 349.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2921, allocations: 8 kB / 349.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.2921, allocations: 3.984 kB / 349.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.2946, allocations: 1.537 MB / 350.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2946, allocations: 3.984 kB / 350.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.2949, allocations: 51.97 kB / 350.9 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000407/0.2953, allocations: 192.8 kB / 351 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.2954, allocations: 11.98 kB / 351.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.2984, allocations: 2.71 MB / 353.8 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.2984, allocations: 0 / 353.8 MB, free: 7.383 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.3001, allocations: 1.121 MB / 354.9 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/0.3004, allocations: 192.3 kB / 355.1 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.3006, allocations: 16 kB / 355.1 MB, free: 6.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.3009, allocations: 27.97 kB / 355.1 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.301, allocations: 51.86 kB / 355.2 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.3011, allocations: 8 kB / 355.2 MB, free: 5.93 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005647/0.3016, allocations: 414.8 kB / 355.6 MB, free: 5.527 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3017, allocations: 4 kB / 355.6 MB, free: 5.523 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008076/0.3025, allocations: 203.3 kB / 355.8 MB, free: 5.324 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001686/0.3027, allocations: 119.2 kB / 355.9 MB, free: 5.195 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.304, allocations: 0.7482 MB / 356.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.304, allocations: 0 / 356.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.3047, allocations: 487.2 kB / 357.1 MB, free: 3.945 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.3053, allocations: 138.6 kB / 357.3 MB, free: 3.812 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002944/0.3083, allocations: 1.749 MB / 359 MB, free: 2.039 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.3091, allocations: 1.09 MB / 360.1 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.3094, allocations: 96.73 kB / 360.2 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.3095, allocations: 39.42 kB / 360.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3095, allocations: 0 / 360.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of Templates: time 0.01613/0.3256, allocations: 9.044 MB / 369.3 MB, free: 7.734 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) Environment - environmentSimulation: