Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01274/0.01274, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002403/0.002403, allocations: 193.7 kB / 16.68 MB, free: 5.93 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.947/1.947, allocations: 205.1 MB / 222.6 MB, free: 4.273 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.001567/0.001567, allocations: 50.75 kB / 326.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.155, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.008722/0.1638, allocations: 3.601 MB / 376.8 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004115/0.168, allocations: 1.068 MB / 377.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.1693, allocations: 15.88 kB / 377.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008442/0.1703, allocations: 103.1 kB / 378 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.1724, allocations: 238.7 kB / 378.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.1732, allocations: 143.7 kB / 378.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.1754, allocations: 0.9533 MB / 379.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001474/0.1769, allocations: 0.5647 MB / 379.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001567/0.1785, allocations: 406.6 kB / 380.3 MB, free: 10.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.1801, allocations: 494.1 kB / 380.7 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004384/0.1806, allocations: 100 kB / 380.8 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.181, allocations: 96 kB / 380.9 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004137/0.1814, allocations: 275.2 kB / 381.2 MB, free: 9.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.1828, allocations: 473.8 kB / 381.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.1851, allocations: 1.273 MB / 382.9 MB, free: 7.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.497e-06/0.1851, allocations: 0 / 382.9 MB, free: 7.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1852, allocations: 4 kB / 382.9 MB, free: 7.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.825e-05/0.1852, allocations: 0 / 382.9 MB, free: 7.477 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003978/0.1892, allocations: 1.15 MB / 384.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1893, allocations: 8.031 kB / 384.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.1895, allocations: 95.75 kB / 384.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/0.1907, allocations: 0.6041 MB / 384.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.1908, allocations: 49.25 kB / 384.8 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1909, allocations: 68 kB / 384.9 MB, free: 5.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002001/0.193, allocations: 0.9072 MB / 385.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.193, allocations: 0 / 385.8 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/0.1931, allocations: 32 kB / 385.9 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-05/0.1932, allocations: 25.31 kB / 385.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.1947, allocations: 0.7936 MB / 386.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005236/0.1999, allocations: 2.756 MB / 389.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.2012, allocations: 0.7411 MB / 390.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007001/0.202, allocations: 349.2 kB / 390.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.952e-05/0.202, allocations: 4.328 kB / 390.5 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007309/0.2028, allocations: 377.9 kB / 390.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 3.527e-06/0.2028, allocations: 4 kB / 390.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.003065/0.2059, allocations: 1.185 MB / 392.1 MB, free: 14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.206, allocations: 114.8 kB / 392.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.2071, allocations: 0.5721 MB / 392.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.693e-05/0.2072, allocations: 33.7 kB / 392.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.2076, allocations: 348 kB / 393.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.2078, allocations: 134.1 kB / 393.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.2079, allocations: 94.16 kB / 393.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002239/0.2082, allocations: 370.7 kB / 393.7 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004329/0.2086, allocations: 221 kB / 393.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.2092, allocations: 357.8 kB / 394.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.2101, allocations: 0.5613 MB / 394.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.2101, allocations: 7.875 kB / 394.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00147/0.2116, allocations: 0.7584 MB / 395.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.2116, allocations: 5.094 kB / 395.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2116, allocations: 4.5 kB / 395.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.2122, allocations: 200.7 kB / 395.8 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.2126, allocations: 71.89 kB / 395.9 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/0.2163, allocations: 2.924 MB / 398.8 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000512/0.2168, allocations: 67.48 kB / 398.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.2169, allocations: 16 kB / 398.9 MB, free: 6.855 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006167/0.2175, allocations: 321.6 kB / 399.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.2176, allocations: 59.34 kB / 399.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.2178, allocations: 73.2 kB / 399.3 MB, free: 6.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2178, allocations: 8 kB / 399.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2178, allocations: 0 / 399.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2178, allocations: 7.922 kB / 399.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.2205, allocations: 1.617 MB / 401 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2205, allocations: 4.031 kB / 401 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.2208, allocations: 55.89 kB / 401 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/0.2213, allocations: 192.7 kB / 401.2 MB, free: 4.453 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.2214, allocations: 8 kB / 401.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/0.2249, allocations: 2.924 MB / 404.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2249, allocations: 0 / 404.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.2269, allocations: 1.103 MB / 405.2 MB, free: 256 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003801/0.2273, allocations: 188.4 kB / 405.4 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.2274, allocations: 15.98 kB / 405.4 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.2277, allocations: 19.98 kB / 405.5 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.2279, allocations: 47.92 kB / 405.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.2279, allocations: 15.94 kB / 405.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005845/0.2285, allocations: 418.8 kB / 405.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.2285, allocations: 0 / 405.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008652/0.2294, allocations: 203.4 kB / 406.1 MB, free: 15.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002105/0.2296, allocations: 119.1 kB / 406.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.231, allocations: 0.7327 MB / 407 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.2311, allocations: 0 / 407 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008019/0.2319, allocations: 474.9 kB / 407.4 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009399/0.2328, allocations: 154.1 kB / 407.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/0.2362, allocations: 1.492 MB / 409.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009048/0.2372, allocations: 1.062 MB / 410.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000456/0.2376, allocations: 100.7 kB / 410.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.2378, allocations: 43.42 kB / 410.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of SimCode: time 1.664e-06/0.2378, allocations: 4 kB / 410.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Templates: time 0.02503/0.2628, allocations: 10.13 MB / 420.4 MB, free: 0.9258 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)