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.001098/0.001098, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001131/0.001132, allocations: 168.7 kB / 15.95 MB, free: 204 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.889/1.889, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0005473/0.0005474, allocations: 15.98 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4011, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.004849/0.4061, allocations: 3.119 MB / 329.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.409, allocations: 0.9963 MB / 330.6 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004085/0.4095, allocations: 11.91 kB / 330.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.4098, allocations: 78.97 kB / 330.7 MB, free: 14.1 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.0009647/0.4108, allocations: 198.4 kB / 330.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.4112, allocations: 97.45 kB / 331 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001412/0.4126, allocations: 0.9595 MB / 332 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007748/0.4134, allocations: 399 kB / 332.3 MB, free: 13.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006347/0.414, allocations: 313.8 kB / 332.6 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007058/0.4148, allocations: 410.7 kB / 333 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.574e-05/0.4149, allocations: 42.72 kB / 333.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.415, allocations: 41.66 kB / 333.1 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002702/0.4153, allocations: 205.4 kB / 333.3 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002635/0.4155, allocations: 185.4 kB / 333.5 MB, free: 12.42 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.4166, allocations: 0.9919 MB / 334.5 MB, free: 11.46 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.4167, allocations: 0 / 334.5 MB, free: 11.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.529e-06/0.4167, allocations: 4 kB / 334.5 MB, free: 11.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.4167, allocations: 0 / 334.5 MB, free: 11.46 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.002362/0.4191, allocations: 1.025 MB / 335.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.4191, allocations: 8.031 kB / 335.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.4194, allocations: 90.91 kB / 335.6 MB, free: 10.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.4204, allocations: 0.5836 MB / 336.2 MB, free: 9.66 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/0.4205, allocations: 49.27 kB / 336.3 MB, free: 9.609 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.4206, allocations: 64 kB / 336.3 MB, free: 9.547 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/0.4225, allocations: 0.9111 MB / 337.2 MB, free: 8.613 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.4225, allocations: 0 / 337.2 MB, free: 8.613 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.4226, allocations: 28 kB / 337.3 MB, free: 8.586 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.118e-05/0.4227, allocations: 25.31 kB / 337.3 MB, free: 8.562 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.4241, allocations: 0.7975 MB / 338.1 MB, free: 7.762 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.4285, allocations: 2.799 MB / 340.9 MB, free: 4.852 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.4296, allocations: 0.7533 MB / 341.6 MB, free: 4.035 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006358/0.4302, allocations: 357.2 kB / 342 MB, free: 3.684 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.4303, allocations: 4.328 kB / 342 MB, free: 3.68 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006971/0.431, allocations: 385.7 kB / 342.4 MB, free: 3.281 MB / 270.1 MB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.431, allocations: 0 / 342.4 MB, free: 3.281 MB / 270.1 MB Notification: Performance of matching and sorting (n=43): time 0.002712/0.4337, allocations: 1.197 MB / 343.6 MB, free: 2.055 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.4338, allocations: 110.8 kB / 343.7 MB, free: 1.922 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000791/0.4346, allocations: 0.5605 MB / 344.2 MB, free: 1.352 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.4347, allocations: 41.64 kB / 344.3 MB, free: 1.305 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.435, allocations: 356 kB / 344.6 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.4351, allocations: 142 kB / 344.8 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.4352, allocations: 8 kB / 344.8 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4353, allocations: 370.7 kB / 345.1 MB, free: 444 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.4357, allocations: 221 kB / 345.3 MB, free: 224 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.4362, allocations: 365.8 kB / 345.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004269/0.4367, allocations: 248.9 kB / 345.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.4367, allocations: 4 kB / 345.9 MB, free: 15.55 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001325/0.438, allocations: 0.759 MB / 346.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.371e-05/0.4381, allocations: 8 kB / 346.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.4381, allocations: 4 kB / 346.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005401/0.4387, allocations: 204.7 kB / 346.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.439, allocations: 75.89 kB / 347 MB, free: 14.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.4422, allocations: 2.674 MB / 349.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.4427, allocations: 51.58 kB / 349.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.4427, allocations: 19.98 kB / 349.7 MB, free: 11.61 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0006266/0.4434, allocations: 337.7 kB / 350.1 MB, free: 11.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.4435, allocations: 55.34 kB / 350.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.4436, allocations: 69.22 kB / 350.2 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.4436, allocations: 7.984 kB / 350.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4436, allocations: 0 / 350.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4437, allocations: 0 / 350.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/0.4461, allocations: 1.636 MB / 351.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4461, allocations: 0 / 351.8 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.4464, allocations: 51.91 kB / 351.9 MB, free: 9.395 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.4468, allocations: 196.8 kB / 352.1 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.4469, allocations: 11.95 kB / 352.1 MB, free: 9.188 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002916/0.4498, allocations: 2.651 MB / 354.7 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4498, allocations: 4 kB / 354.7 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4515, allocations: 1.11 MB / 355.9 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.4518, allocations: 192.3 kB / 356 MB, free: 5.059 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.4519, allocations: 16 kB / 356.1 MB, free: 5.043 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.4522, allocations: 27.97 kB / 356.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.4523, allocations: 43.94 kB / 356.1 MB, free: 4.973 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.4524, allocations: 15.98 kB / 356.1 MB, free: 4.957 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005301/0.4529, allocations: 410.8 kB / 356.5 MB, free: 4.559 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4529, allocations: 0 / 356.5 MB, free: 4.559 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007845/0.4537, allocations: 203.4 kB / 356.7 MB, free: 4.359 MB / 286.1 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: 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.000164/0.4539, allocations: 127.6 kB / 356.9 MB, free: 4.223 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.4552, allocations: 0.7364 MB / 357.6 MB, free: 3.473 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.4552, allocations: 0 / 357.6 MB, free: 3.473 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006899/0.4559, allocations: 487 kB / 358.1 MB, free: 2.984 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/0.4566, allocations: 138.2 kB / 358.2 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.4594, allocations: 1.753 MB / 360 MB, free: 1.07 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007539/0.4602, allocations: 1.066 MB / 361 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.4605, allocations: 96.72 kB / 361.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.4606, allocations: 35.44 kB / 361.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4606, allocations: 0 / 361.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of Templates: time 0.01619/0.4768, allocations: 9.056 MB / 370.2 MB, free: 6.781 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (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)