Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 107.5 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.001235/0.001235, allocations: 187 kB / 19.34 MB, free: 3.754 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.321/1.321, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001306/0.001306, allocations: 47.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07471/0.07602, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.004915/0.08098, allocations: 3.658 MB / 379.5 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1562/0.2372, allocations: 0.9577 MB / 380.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.2377, allocations: 11.81 kB / 380.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.238, allocations: 76.88 kB / 380.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.2384, allocations: 139.3 kB / 380.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.2388, allocations: 160.9 kB / 380.8 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006375/0.2394, allocations: 0.6048 MB / 381.4 MB, free: 9.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004233/0.2399, allocations: 218.2 kB / 381.7 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.2401, allocations: 230.7 kB / 381.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.2404, allocations: 244.8 kB / 382.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.064e-05/0.2405, allocations: 54.69 kB / 382.2 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.2406, allocations: 54 kB / 382.2 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.2408, allocations: 117.4 kB / 382.3 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.241, allocations: 268.3 kB / 382.6 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008158/0.2419, allocations: 0.6268 MB / 383.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.2419, allocations: 0.625 kB / 383.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2419, allocations: 0 / 383.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.2419, allocations: 0 / 383.2 MB, free: 9.371 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001495/0.2434, allocations: 0.7742 MB / 384 MB, free: 8.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.2435, allocations: 8.062 kB / 384 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.2436, allocations: 57.48 kB / 384.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.2441, allocations: 361.5 kB / 384.4 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.2441, allocations: 33.97 kB / 384.5 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.789e-05/0.2442, allocations: 44.47 kB / 384.5 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/0.245, allocations: 457.6 kB / 384.9 MB, free: 8.465 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.245, allocations: 3.906 kB / 384.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.2451, allocations: 22.8 kB / 385 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.2451, allocations: 9.281 kB / 385 MB, free: 8.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005794/0.2457, allocations: 315.3 kB / 385.3 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00211/0.2478, allocations: 1.819 MB / 387.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007515/0.2486, allocations: 0.6127 MB / 387.7 MB, free: 6.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.2492, allocations: 275.8 kB / 388 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.2492, allocations: 5.859 kB / 388 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004268/0.2497, allocations: 263.9 kB / 388.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.934e-06/0.2497, allocations: 0.9688 kB / 388.3 MB, free: 6.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.00229/0.252, allocations: 0.8437 MB / 389.1 MB, free: 5.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.252, allocations: 82.88 kB / 389.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.2523, allocations: 314.7 kB / 389.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.2524, allocations: 40.81 kB / 389.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.2525, allocations: 218.5 kB / 389.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.2526, allocations: 129.8 kB / 389.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.2527, allocations: 86.67 kB / 390 MB, free: 5.336 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.2528, allocations: 347.4 kB / 390.3 MB, free: 5.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.253, allocations: 118.8 kB / 390.4 MB, free: 4.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.2533, allocations: 252.2 kB / 390.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.2538, allocations: 378.2 kB / 391 MB, free: 4.484 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.2538, allocations: 3.344 kB / 391 MB, free: 4.484 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009849/0.2548, allocations: 0.5104 MB / 391.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.2548, allocations: 7.125 kB / 391.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.2549, allocations: 3.953 kB / 391.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006602/0.2555, allocations: 152.8 kB / 391.7 MB, free: 4.188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.2558, allocations: 62.94 kB / 391.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.2582, allocations: 2.543 MB / 394.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.2585, allocations: 48.62 kB / 394.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.2585, allocations: 22.41 kB / 394.4 MB, free: 2.086 MB / 318.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: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0001672/0.2587, allocations: 177.7 kB / 394.5 MB, free: 1.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.2588, allocations: 42.94 kB / 394.6 MB, free: 1.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.783e-05/0.2589, allocations: 48.12 kB / 394.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2589, allocations: 2.156 kB / 394.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.2589, allocations: 2.125 kB / 394.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.259, allocations: 152.5 kB / 394.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.2591, allocations: 8.828 kB / 394.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.2593, allocations: 19.67 kB / 394.8 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.2594, allocations: 29.41 kB / 394.8 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00117/0.2606, allocations: 0.5611 MB / 395.4 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008556/0.2614, allocations: 0.6934 MB / 396.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002189/0.2616, allocations: 143 kB / 396.2 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002562/0.2619, allocations: 222.4 kB / 396.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of Backend: time 4.41e-07/0.2619, allocations: 0 / 396.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.2631, allocations: 0.5045 MB / 397 MB, free: 0.543 MB / 318.1 MB Notification: Performance of SimCode: time 0.001351/0.2645, allocations: 1.3 MB / 398.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of Templates: time 0.0116/0.2761, allocations: 6.72 MB / 405 MB, free: 13.46 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)