Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 109.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 212 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 59.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2171, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.005495/0.2227, allocations: 4.76 MB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.2249, allocations: 1.359 MB / 416.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.2254, allocations: 27.88 kB / 416.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006611/0.2261, allocations: 234.4 kB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008548/0.2269, allocations: 361.9 kB / 416.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.2275, allocations: 223.6 kB / 416.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.229, allocations: 1.545 MB / 418.4 MB, free: 9.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.23, allocations: 0.9687 MB / 419.4 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.2308, allocations: 0.6503 MB / 420.1 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008411/0.2316, allocations: 0.7627 MB / 420.8 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001955/0.2318, allocations: 172 kB / 421 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.2321, allocations: 168 kB / 421.2 MB, free: 6.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000349/0.2325, allocations: 438.7 kB / 421.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006647/0.2331, allocations: 0.7389 MB / 422.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.2348, allocations: 2.101 MB / 424.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2348, allocations: 0 / 424.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2348, allocations: 0 / 424.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.2348, allocations: 0 / 424.4 MB, free: 3.016 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002778/0.2376, allocations: 1.65 MB / 426.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2376, allocations: 8.031 kB / 426.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004959/0.2382, allocations: 171.2 kB / 426.3 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.2396, allocations: 0.9657 MB / 427.2 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.056e-05/0.2397, allocations: 74.38 kB / 427.3 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.2398, allocations: 104.2 kB / 427.4 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.242, allocations: 1.439 MB / 428.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.2421, allocations: 11.92 kB / 428.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.2422, allocations: 40 kB / 428.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/0.2422, allocations: 38 kB / 428.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.2442, allocations: 1.292 MB / 430.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005718/0.25, allocations: 4.308 MB / 434.5 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.2518, allocations: 1.963 MB / 436.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.253, allocations: 0.739 MB / 437.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.253, allocations: 4.656 kB / 437.2 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008899/0.2539, allocations: 0.5937 MB / 437.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.575e-06/0.254, allocations: 0 / 437.8 MB, free: 5.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.006965/0.2609, allocations: 2.82 MB / 440.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.261, allocations: 119.5 kB / 440.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.2621, allocations: 0.8442 MB / 441.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.588e-05/0.2621, allocations: 41.7 kB / 441.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/0.2625, allocations: 499.8 kB / 442.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.2627, allocations: 236.6 kB / 442.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.2629, allocations: 138.6 kB / 442.5 MB, free: 404 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.263, allocations: 337.9 kB / 442.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00061/0.2637, allocations: 393.8 kB / 443.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.2644, allocations: 0.5493 MB / 443.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.2656, allocations: 0.9075 MB / 444.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2657, allocations: 0 / 444.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002045/0.2677, allocations: 1.31 MB / 446 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.2677, allocations: 8 kB / 446 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2678, allocations: 4 kB / 446 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.2688, allocations: 469.7 kB / 446.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.2692, allocations: 91.89 kB / 446.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007022/0.2762, allocations: 5.586 MB / 452.1 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005413/0.2768, allocations: 79.48 kB / 452.2 MB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.2768, allocations: 31.94 kB / 452.2 MB, free: 6.379 MB / 366.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: 15 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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 {(6,30)} Notification: Performance of prepare postOptimizeDAE: time 0.0006298/0.2775, allocations: 467.2 kB / 452.7 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/0.2777, allocations: 94.86 kB / 452.8 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.2779, allocations: 108.7 kB / 452.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.2779, allocations: 3.984 kB / 452.9 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2779, allocations: 3.938 kB / 452.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004431/0.2784, allocations: 283.8 kB / 453.2 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.2785, allocations: 23.94 kB / 453.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/0.2789, allocations: 39.95 kB / 453.2 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.2791, allocations: 56.56 kB / 453.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002876/0.282, allocations: 1.52 MB / 454.8 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002242/0.2842, allocations: 1.674 MB / 456.5 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006449/0.2849, allocations: 476.8 kB / 457 MB, free: 1.594 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007367/0.2856, allocations: 0.6005 MB / 457.6 MB, free: 1 MB / 366.1 MB Notification: Performance of Backend: time 3.91e-07/0.2857, allocations: 0 / 457.6 MB, free: 1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001987/0.2876, allocations: 1.009 MB / 458.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of SimCode: time 0.003834/0.2915, allocations: 2.838 MB / 461.4 MB, free: 13.08 MB / 382.1 MB Notification: Performance of Templates: time 0.02788/0.3194, allocations: 18.28 MB / 479.7 MB, free: 10.98 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.pipe 2>&1)