Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.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.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001486, allocations: 110.6 kB / 18.4 MB, free: 4.676 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.001674/0.001674, allocations: 186.1 kB / 19.33 MB, free: 3.758 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.27/1.27, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001183/0.001183, allocations: 51.92 kB / 329.2 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07242/0.07362, allocations: 46.62 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.1473/0.221, allocations: 4.765 MB / 380.6 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.2232, allocations: 1.431 MB / 382 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002759/0.2235, allocations: 17.19 kB / 382.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.2238, allocations: 138.8 kB / 382.2 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003755/0.2242, allocations: 189.7 kB / 382.4 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.2246, allocations: 299.5 kB / 382.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007365/0.2254, allocations: 0.932 MB / 383.6 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005902/0.226, allocations: 415.2 kB / 384 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.2263, allocations: 349.2 kB / 384.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.2267, allocations: 363.2 kB / 384.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.2268, allocations: 91.62 kB / 384.8 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.227, allocations: 90.97 kB / 384.9 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.2271, allocations: 192.3 kB / 385.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.2274, allocations: 399.2 kB / 385.5 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000821/0.2282, allocations: 1.005 MB / 386.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2282, allocations: 5.219 kB / 386.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2282, allocations: 0 / 386.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2283, allocations: 0 / 386.5 MB, free: 8.012 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001558/0.2298, allocations: 1.043 MB / 387.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.2299, allocations: 7.688 kB / 387.5 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.23, allocations: 88.89 kB / 387.6 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006021/0.2306, allocations: 0.4996 MB / 388.1 MB, free: 6.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.2306, allocations: 49.31 kB / 388.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/0.2307, allocations: 63.83 kB / 388.2 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.2318, allocations: 0.691 MB / 388.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.2318, allocations: 0 / 388.9 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.2319, allocations: 28.52 kB / 388.9 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.2319, allocations: 16.06 kB / 389 MB, free: 6.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009154/0.2328, allocations: 0.5034 MB / 389.5 MB, free: 6.301 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.2358, allocations: 2.475 MB / 391.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008618/0.2367, allocations: 0.5385 MB / 392.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.2373, allocations: 326.4 kB / 392.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.2373, allocations: 5.656 kB / 392.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005662/0.2379, allocations: 363.4 kB / 393.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of pre-optimization done (n=57): time 1.914e-06/0.2379, allocations: 0 / 393.2 MB, free: 4.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.002823/0.2407, allocations: 1.042 MB / 394.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.2408, allocations: 113.4 kB / 394.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/0.2413, allocations: 471.4 kB / 394.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.732e-05/0.2413, allocations: 45.28 kB / 394.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.2415, allocations: 312.2 kB / 395.1 MB, free: 3.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.2416, allocations: 171.5 kB / 395.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.2418, allocations: 126.7 kB / 395.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.975e-05/0.2419, allocations: 365.2 kB / 395.8 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.2422, allocations: 197.2 kB / 396 MB, free: 2.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004022/0.2426, allocations: 348.6 kB / 396.3 MB, free: 2.199 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.2433, allocations: 0.502 MB / 396.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2433, allocations: 2.094 kB / 396.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00104/0.2443, allocations: 0.6733 MB / 397.5 MB, free: 1.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2444, allocations: 12.12 kB / 397.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2444, allocations: 5.25 kB / 397.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004555/0.2448, allocations: 153.2 kB / 397.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.2452, allocations: 83.2 kB / 397.7 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/0.2477, allocations: 2.561 MB / 400.3 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.2481, allocations: 68.12 kB / 400.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.2481, allocations: 22.38 kB / 400.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005139/0.2486, allocations: 344.8 kB / 400.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004938/0.2492, allocations: 349.1 kB / 401 MB, free: 14.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006745/0.2498, allocations: 496.2 kB / 401.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.906e-06/0.2499, allocations: 1.375 kB / 401.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001054/0.2509, allocations: 0.6652 MB / 402.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.2509, allocations: 7.219 kB / 402.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2509, allocations: 5.031 kB / 402.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004034/0.2514, allocations: 148.4 kB / 402.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.2517, allocations: 85.16 kB / 402.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002804/0.2545, allocations: 2.558 MB / 405 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/0.2549, allocations: 57.48 kB / 405.1 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.441e-05/0.2549, allocations: 22.34 kB / 405.1 MB, free: 12.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 27 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,pulse2.fire_n,pulse2.fire_p,pulse2.twoPulse.timerNegative[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p1.off,rectifier.andCondition_n.y,rectifier.andCondition_p.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.2551, allocations: 235.7 kB / 405.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/0.2552, allocations: 66.53 kB / 405.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.2554, allocations: 66.38 kB / 405.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.2554, allocations: 5.5 kB / 405.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.2554, allocations: 4 kB / 405.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.2556, allocations: 183.4 kB / 405.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.446e-05/0.2557, allocations: 12.09 kB / 405.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.256, allocations: 31.56 kB / 405.7 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.2561, allocations: 50.31 kB / 405.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001547/0.2577, allocations: 0.7017 MB / 406.4 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001324/0.259, allocations: 0.9236 MB / 407.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000366/0.2594, allocations: 222.8 kB / 407.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003641/0.2598, allocations: 323.3 kB / 407.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of Backend: time 3.91e-07/0.2598, allocations: 0 / 407.9 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.2618, allocations: 1.103 MB / 409 MB, free: 9.906 MB / 334.1 MB Notification: Performance of SimCode: time 0.001937/0.2637, allocations: 1.676 MB / 410.7 MB, free: 8.66 MB / 334.1 MB Notification: Performance of Templates: time 0.01963/0.2834, allocations: 12.28 MB / 422.9 MB, free: 14.84 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1)