Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001623/0.001623, allocations: 108.7 kB / 17.06 MB, free: 6.008 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.001931/0.00193, allocations: 199.9 kB / 18 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.909/1.909, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.00118/0.00118, allocations: 59.91 kB / 327.9 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1321, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.005594/0.1377, allocations: 3.612 MB / 378.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2686/0.4064, allocations: 1.051 MB / 379.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008657/0.4073, allocations: 16.09 kB / 379.2 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.4078, allocations: 103.6 kB / 379.3 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.4089, allocations: 224.6 kB / 379.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004859/0.4094, allocations: 146.2 kB / 379.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001473/0.4109, allocations: 0.9553 MB / 380.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001206/0.4121, allocations: 0.5588 MB / 381.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.4133, allocations: 404.8 kB / 381.6 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.4145, allocations: 494.3 kB / 382 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002227/0.4147, allocations: 99.66 kB / 382.1 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.4149, allocations: 99.62 kB / 382.2 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.4153, allocations: 276.5 kB / 382.5 MB, free: 9.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006497/0.4159, allocations: 472.2 kB / 383 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.4179, allocations: 1.273 MB / 384.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.4179, allocations: 1.219 kB / 384.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4179, allocations: 0 / 384.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.532e-05/0.418, allocations: 4 kB / 384.2 MB, free: 8.781 MB / 318.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.003066/0.4211, allocations: 1.153 MB / 385.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/0.4211, allocations: 9.344 kB / 385.4 MB, free: 8.008 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.4214, allocations: 91.94 kB / 385.5 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.4227, allocations: 0.6065 MB / 386.1 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/0.4228, allocations: 48.59 kB / 386.1 MB, free: 7.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.4229, allocations: 63.27 kB / 386.2 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.4251, allocations: 0.9137 MB / 387.1 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.4251, allocations: 3.984 kB / 387.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-05/0.4252, allocations: 29.55 kB / 387.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.649e-05/0.4253, allocations: 29.38 kB / 387.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002041/0.4273, allocations: 0.7897 MB / 388 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005633/0.433, allocations: 2.759 MB / 390.7 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.4342, allocations: 0.7392 MB / 391.5 MB, free: 4.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/0.435, allocations: 343.2 kB / 391.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.435, allocations: 3.953 kB / 391.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008933/0.4359, allocations: 386.4 kB / 392.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 3.547e-06/0.436, allocations: 4 kB / 392.2 MB, free: 4.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.003543/0.4395, allocations: 1.174 MB / 393.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4396, allocations: 117.5 kB / 393.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4408, allocations: 0.5661 MB / 394 MB, free: 3.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.4409, allocations: 41.72 kB / 394.1 MB, free: 3.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.4413, allocations: 355 kB / 394.4 MB, free: 3.262 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.4415, allocations: 138.4 kB / 394.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.4417, allocations: 90.83 kB / 394.7 MB, free: 3.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.4418, allocations: 363.1 kB / 395 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/0.4424, allocations: 230.2 kB / 395.2 MB, free: 2.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.4429, allocations: 354.8 kB / 395.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009308/0.4438, allocations: 0.5659 MB / 396.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4439, allocations: 1.156 kB / 396.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001463/0.4453, allocations: 0.7542 MB / 396.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.4454, allocations: 6.875 kB / 396.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.666e-05/0.4454, allocations: 4.734 kB / 396.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006921/0.4461, allocations: 209.3 kB / 397.1 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.4465, allocations: 75.78 kB / 397.2 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/0.4505, allocations: 2.925 MB / 400.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007075/0.4513, allocations: 58.19 kB / 400.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.4513, allocations: 16.58 kB / 400.2 MB, free: 15.55 MB / 334.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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0009821/0.4523, allocations: 329.4 kB / 400.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.4525, allocations: 54.53 kB / 400.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.4527, allocations: 68.14 kB / 400.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4527, allocations: 5.156 kB / 400.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.4527, allocations: 4 kB / 400.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.4527, allocations: 3.984 kB / 400.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.4565, allocations: 1.625 MB / 402.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4566, allocations: 32 / 402.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.4569, allocations: 58.55 kB / 402.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006092/0.4575, allocations: 192.7 kB / 402.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.4576, allocations: 10.33 kB / 402.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004068/0.4617, allocations: 2.915 MB / 405.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4617, allocations: 0 / 405.4 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.4639, allocations: 1.104 MB / 406.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.4644, allocations: 191.4 kB / 406.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.4645, allocations: 11.31 kB / 406.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.4648, allocations: 25.41 kB / 406.8 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.465, allocations: 46.92 kB / 406.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.465, allocations: 13 kB / 406.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006836/0.4657, allocations: 417.8 kB / 407.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4657, allocations: 0 / 407.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001192/0.4669, allocations: 204.4 kB / 407.4 MB, free: 10.39 MB / 334.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002069/0.4671, allocations: 120.2 kB / 407.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.4688, allocations: 0.7417 MB / 408.3 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.4688, allocations: 1.094 kB / 408.3 MB, free: 9.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000853/0.4696, allocations: 479.1 kB / 408.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.4705, allocations: 158.9 kB / 408.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.474, allocations: 1.477 MB / 410.4 MB, free: 8.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009218/0.475, allocations: 1.074 MB / 411.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003909/0.4754, allocations: 99.59 kB / 411.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.4755, allocations: 44.23 kB / 411.6 MB, free: 7.633 MB / 334.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4755, allocations: 0 / 411.6 MB, free: 7.633 MB / 334.1 MB Notification: Performance of Templates: time 0.02078/0.4963, allocations: 10.37 MB / 422 MB, free: 14.2 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)