Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0008569/0.000857, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009249/0.0009249, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.1 MB, free: 5.887 MB / 174.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.000465/0.000465, allocations: 10.81 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 47.58 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.004554/0.2951, allocations: 3.898 MB / 330.4 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.2979, allocations: 1.217 MB / 331.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006188/0.2985, allocations: 20.22 kB / 331.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.2989, allocations: 120.8 kB / 331.7 MB, free: 13.23 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5531:20-5531:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Electrical/PowerConverters.mo:5542:20-5542:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3002, allocations: 319.2 kB / 332.1 MB, free: 12.99 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.3007, allocations: 125 kB / 332.2 MB, free: 12.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002506/0.3032, allocations: 1.646 MB / 333.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.3046, allocations: 0.6894 MB / 334.5 MB, free: 11.47 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.3061, allocations: 0.498 MB / 335 MB, free: 10.97 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001533/0.3076, allocations: 0.6926 MB / 335.7 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002848/0.3079, allocations: 76 kB / 335.8 MB, free: 10.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.3083, allocations: 72 kB / 335.8 MB, free: 10.13 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004278/0.3087, allocations: 370.7 kB / 336.2 MB, free: 9.766 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006137/0.3094, allocations: 289 kB / 336.5 MB, free: 9.477 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.3114, allocations: 1.765 MB / 338.3 MB, free: 7.707 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3114, allocations: 0 / 338.3 MB, free: 7.707 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.3114, allocations: 0 / 338.3 MB, free: 7.707 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.445e-05/0.3115, allocations: 3.938 kB / 338.3 MB, free: 7.703 MB / 270.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.004487/0.316, allocations: 1.541 MB / 339.8 MB, free: 6.109 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.355e-05/0.3161, allocations: 8.031 kB / 339.8 MB, free: 6.102 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004589/0.3166, allocations: 150.2 kB / 340 MB, free: 5.953 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.3181, allocations: 0.8871 MB / 340.8 MB, free: 5.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/0.3182, allocations: 77.98 kB / 340.9 MB, free: 4.941 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/0.3183, allocations: 100 kB / 341 MB, free: 4.844 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.321, allocations: 1.561 MB / 342.6 MB, free: 3.227 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.321, allocations: 0 / 342.6 MB, free: 3.227 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.3212, allocations: 44 kB / 342.6 MB, free: 3.184 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/0.3212, allocations: 42.02 kB / 342.7 MB, free: 3.141 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.3237, allocations: 1.444 MB / 344.1 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007217/0.331, allocations: 4.965 MB / 349.1 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.3327, allocations: 1.453 MB / 350.5 MB, free: 10.97 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.334, allocations: 0.739 MB / 351.3 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.426e-05/0.3341, allocations: 12.55 kB / 351.3 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.3352, allocations: 0.62 MB / 351.9 MB, free: 9.574 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 3.216e-06/0.3352, allocations: 4 kB / 351.9 MB, free: 9.57 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.00569/0.3409, allocations: 2.435 MB / 354.3 MB, free: 7.105 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.341, allocations: 89.77 kB / 354.4 MB, free: 7 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.3428, allocations: 0.9265 MB / 355.3 MB, free: 6.062 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/0.3429, allocations: 45.69 kB / 355.4 MB, free: 6.012 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006352/0.3435, allocations: 0.5152 MB / 355.9 MB, free: 5.488 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/0.3438, allocations: 236.7 kB / 356.1 MB, free: 5.254 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.3439, allocations: 12 kB / 356.1 MB, free: 5.242 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.344, allocations: 334 kB / 356.5 MB, free: 4.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008004/0.3448, allocations: 421.7 kB / 356.9 MB, free: 4.496 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/0.3457, allocations: 0.5679 MB / 357.5 MB, free: 3.875 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008769/0.3466, allocations: 461.9 kB / 357.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/0.3466, allocations: 7.891 kB / 357.9 MB, free: 3.414 MB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002599/0.3493, allocations: 1.308 MB / 359.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3493, allocations: 4 kB / 359.2 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.3493, allocations: 4 kB / 359.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009878/0.3503, allocations: 394.4 kB / 359.6 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.3508, allocations: 127.8 kB / 359.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005746/0.3566, allocations: 4.126 MB / 363.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007066/0.3573, allocations: 87.52 kB / 363.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.9e-05/0.3574, allocations: 32 kB / 364 MB, free: 13.2 MB / 302.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 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0008935/0.3583, allocations: 495.2 kB / 364.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.3586, allocations: 94.86 kB / 364.6 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.3589, allocations: 116.5 kB / 364.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.3589, allocations: 15.94 kB / 364.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3589, allocations: 0 / 364.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-06/0.359, allocations: 3.984 kB / 364.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004338/0.3633, allocations: 2.609 MB / 367.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3633, allocations: 0 / 367.3 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.3638, allocations: 95.86 kB / 367.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008174/0.3646, allocations: 389.2 kB / 367.8 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/0.3647, allocations: 15.98 kB / 367.8 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005216/0.3699, allocations: 4.088 MB / 371.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3699, allocations: 4 kB / 371.9 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/0.3731, allocations: 1.982 MB / 373.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.3737, allocations: 279.8 kB / 374.1 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001984/0.3739, allocations: 19.98 kB / 374.2 MB, free: 2.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.3744, allocations: 47.95 kB / 374.2 MB, free: 2.723 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.3746, allocations: 80.47 kB / 374.3 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.3747, allocations: 27.98 kB / 374.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001162/0.3759, allocations: 0.6629 MB / 375 MB, free: 1.961 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3759, allocations: 0 / 375 MB, free: 1.961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001308/0.3772, allocations: 350.8 kB / 375.3 MB, free: 1.617 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002357/0.3774, allocations: 126.9 kB / 375.4 MB, free: 1.484 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002463/0.3799, allocations: 1.292 MB / 376.7 MB, free: 184 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3799, allocations: 4 kB / 376.7 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.3813, allocations: 0.8143 MB / 377.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3824, allocations: 239.3 kB / 377.8 MB, free: 15.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.3881, allocations: 3.008 MB / 380.8 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001295/0.3894, allocations: 1.384 MB / 382.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005871/0.39, allocations: 175.3 kB / 382.3 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.3902, allocations: 55.42 kB / 382.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of SimCode: time 1.492e-06/0.3902, allocations: 0 / 382.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of Templates: time 0.0314/0.4216, allocations: 16.48 MB / 398.9 MB, free: 9.918 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)