Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, 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.001674/0.001674, allocations: 183.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.325/1.325, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001256/0.001256, allocations: 51.92 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07369/0.07495, allocations: 46.62 MB / 375.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005467/0.08045, allocations: 4.506 MB / 380.4 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.158/0.2385, allocations: 1.257 MB / 381.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005602/0.2391, allocations: 28.69 kB / 381.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.2396, allocations: 163 kB / 381.8 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001129/0.2407, allocations: 338.1 kB / 382.1 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.2413, allocations: 203 kB / 382.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.2431, allocations: 1.614 MB / 383.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.2443, allocations: 0.9356 MB / 384.9 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009957/0.2453, allocations: 0.6772 MB / 385.5 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.2467, allocations: 0.8387 MB / 386.4 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004647/0.2472, allocations: 178.5 kB / 386.6 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.2478, allocations: 174.7 kB / 386.7 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005816/0.2484, allocations: 483.4 kB / 387.2 MB, free: 7.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009182/0.2493, allocations: 0.7895 MB / 388 MB, free: 7.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.2513, allocations: 2.228 MB / 390.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2513, allocations: 1.219 kB / 390.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2513, allocations: 0 / 390.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.025e-05/0.2514, allocations: 0 / 390.2 MB, free: 6.637 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002994/0.2544, allocations: 1.766 MB / 392 MB, free: 5.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.2544, allocations: 8.656 kB / 392 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002403/0.2547, allocations: 149.4 kB / 392.1 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.2559, allocations: 0.9285 MB / 393.1 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.256, allocations: 76.34 kB / 393.1 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.2561, allocations: 104.5 kB / 393.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.2585, allocations: 1.553 MB / 394.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.2586, allocations: 1.062 kB / 394.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.2587, allocations: 42.97 kB / 394.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.2587, allocations: 43.75 kB / 394.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002257/0.261, allocations: 1.428 MB / 396.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/0.2668, allocations: 4.871 MB / 401.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/0.2684, allocations: 1.457 MB / 402.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/0.2697, allocations: 0.7382 MB / 403.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.2697, allocations: 17.91 kB / 403.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009474/0.2707, allocations: 0.6118 MB / 404 MB, free: 14.63 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.415e-06/0.2707, allocations: 1.125 kB / 404 MB, free: 14.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.005656/0.2764, allocations: 2.418 MB / 406.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.2764, allocations: 86.89 kB / 406.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.2777, allocations: 0.9304 MB / 407.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.569e-05/0.2778, allocations: 40.92 kB / 407.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/0.2782, allocations: 0.5295 MB / 408 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001947/0.2784, allocations: 225.1 kB / 408.2 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/0.2786, allocations: 131.2 kB / 408.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2788, allocations: 337.5 kB / 408.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006767/0.2794, allocations: 414.6 kB / 409.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.2802, allocations: 0.55 MB / 409.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.2816, allocations: 0.9398 MB / 410.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.2816, allocations: 7.312 kB / 410.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002126/0.2837, allocations: 1.296 MB / 411.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2838, allocations: 5.625 kB / 411.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2838, allocations: 7.938 kB / 411.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/0.2847, allocations: 406 kB / 412.3 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.2852, allocations: 118.3 kB / 412.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005412/0.2907, allocations: 4.49 MB / 416.9 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006625/0.2913, allocations: 79.55 kB / 417 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-05/0.2914, allocations: 23.98 kB / 417 MB, free: 4.965 MB / 334.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,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,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 (59): * Single equations (assignments): 58 * 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0007653/0.2922, allocations: 499.3 kB / 417.5 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.2924, allocations: 98.88 kB / 417.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.2926, allocations: 120.5 kB / 417.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.2927, allocations: 3.984 kB / 417.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2927, allocations: 0 / 417.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004723/0.2931, allocations: 287.8 kB / 418 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.2933, allocations: 16 kB / 418 MB, free: 3.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.2938, allocations: 47.94 kB / 418.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.294, allocations: 68.5 kB / 418.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00293/0.2969, allocations: 1.502 MB / 419.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002436/0.2994, allocations: 1.766 MB / 421.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007033/0.3001, allocations: 0.4891 MB / 421.9 MB, free: 44 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009332/0.301, allocations: 0.6707 MB / 422.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Backend: time 3.41e-07/0.301, allocations: 0 / 422.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.303, allocations: 0.9591 MB / 423.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of SimCode: time 0.004125/0.3071, allocations: 2.863 MB / 426.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Templates: time 0.02916/0.3363, allocations: 18.19 MB / 444.6 MB, free: 9.285 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)