Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.00112/0.001168, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001103/0.001103, allocations: 185.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009873/0.0009874, allocations: 39.94 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2166, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse): time 0.005961/0.2226, allocations: 4.883 MB / 406.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.225, allocations: 1.404 MB / 407.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004437/0.2255, allocations: 19.88 kB / 407.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.2258, allocations: 138.7 kB / 407.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.2263, allocations: 210.2 kB / 408.1 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.2269, allocations: 311.5 kB / 408.4 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008231/0.2277, allocations: 0.9743 MB / 409.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.2283, allocations: 461.7 kB / 409.8 MB, free: 456 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.2287, allocations: 354.7 kB / 410.2 MB, free: 100 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004104/0.2291, allocations: 382.2 kB / 410.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.2292, allocations: 92 kB / 410.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.2294, allocations: 95.94 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.2295, allocations: 195.4 kB / 410.9 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003437/0.2299, allocations: 425.9 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008433/0.2307, allocations: 1.051 MB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2307, allocations: 3.938 kB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2308, allocations: 4 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.2308, allocations: 0 / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001849/0.2326, allocations: 1.072 MB / 413.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.2327, allocations: 11.97 kB / 413.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.2328, allocations: 87.98 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006814/0.2335, allocations: 0.4989 MB / 414 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.2336, allocations: 53.69 kB / 414.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.292e-05/0.2337, allocations: 68.38 kB / 414.2 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.2349, allocations: 0.7305 MB / 414.9 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.2349, allocations: 3.906 kB / 414.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.235, allocations: 32 kB / 414.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.235, allocations: 16 kB / 414.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009998/0.236, allocations: 0.5399 MB / 415.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/0.2395, allocations: 2.576 MB / 418.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009908/0.2405, allocations: 0.5804 MB / 418.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.2411, allocations: 335.3 kB / 419 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.2412, allocations: 8.438 kB / 419 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006132/0.2418, allocations: 381.5 kB / 419.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=59): time 2.134e-06/0.2418, allocations: 0 / 419.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=59): time 0.002803/0.2446, allocations: 1.109 MB / 420.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/0.2447, allocations: 141.1 kB / 420.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.2452, allocations: 477.8 kB / 421.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.278e-05/0.2453, allocations: 45.7 kB / 421.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.2455, allocations: 316.4 kB / 421.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.2456, allocations: 177.5 kB / 421.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.2458, allocations: 122.3 kB / 421.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.246, allocations: 370.8 kB / 422.1 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.2464, allocations: 207.4 kB / 422.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.2469, allocations: 377.8 kB / 422.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008009/0.2477, allocations: 0.5261 MB / 423.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.2477, allocations: 4 kB / 423.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001183/0.2489, allocations: 0.7137 MB / 423.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2489, allocations: 8 kB / 423.9 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2489, allocations: 4 kB / 423.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.2494, allocations: 148.7 kB / 424 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.2497, allocations: 92.08 kB / 424.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/0.2526, allocations: 2.555 MB / 426.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.253, allocations: 75.55 kB / 426.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.911e-05/0.253, allocations: 24 kB / 426.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005378/0.2536, allocations: 365.3 kB / 427.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004645/0.2541, allocations: 364.1 kB / 427.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007223/0.2548, allocations: 0.5027 MB / 428 MB, free: 13.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/0.2548, allocations: 3.938 kB / 428 MB, free: 13.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001113/0.2559, allocations: 0.6862 MB / 428.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.2559, allocations: 8 kB / 428.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.256, allocations: 4.531 kB / 428.7 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003932/0.2564, allocations: 156.7 kB / 428.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.2567, allocations: 79.84 kB / 428.9 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.2595, allocations: 2.561 MB / 431.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.2599, allocations: 67.55 kB / 431.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.2599, allocations: 24 kB / 431.6 MB, free: 9.73 MB / 350.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_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,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 (62): * Single equations (assignments): 61 * 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.0001833/0.2601, allocations: 240.3 kB / 431.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.2602, allocations: 63.33 kB / 431.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.2603, allocations: 65.59 kB / 431.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2603, allocations: 3.984 kB / 432 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2604, allocations: 0 / 432 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.2606, allocations: 192.2 kB / 432.1 MB, free: 9.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.21e-05/0.2607, allocations: 12 kB / 432.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.261, allocations: 35.91 kB / 432.2 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2611, allocations: 48.44 kB / 432.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001616/0.2627, allocations: 0.7375 MB / 433 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001421/0.2642, allocations: 0.9808 MB / 434 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000401/0.2646, allocations: 244.3 kB / 434.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003435/0.2649, allocations: 330.9 kB / 434.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of Backend: time 3e-07/0.265, allocations: 0 / 434.5 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.2669, allocations: 1.147 MB / 435.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of SimCode: time 0.001964/0.2689, allocations: 1.699 MB / 437.4 MB, free: 3.824 MB / 350.1 MB Notification: Performance of Templates: time 0.01942/0.2883, allocations: 12.34 MB / 449.7 MB, free: 7.66 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse.pipe 2>&1)