Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.008722/0.008722, allocations: 99.39 kB / 15.73 MB, free: 6.496 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.00148/0.00148, allocations: 199 kB / 16.68 MB, free: 6.375 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.504/1.504, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001216/0.001216, allocations: 50 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006498/0.1117, allocations: 4.507 MB / 377.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003231/0.115, allocations: 1.263 MB / 379 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004737/0.1155, allocations: 19.88 kB / 379 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005397/0.1161, allocations: 170.6 kB / 379.1 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001527/0.1176, allocations: 358 kB / 379.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.1181, allocations: 199.7 kB / 379.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001789/0.1199, allocations: 1.623 MB / 381.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.1211, allocations: 0.9297 MB / 382.2 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008919/0.122, allocations: 0.6734 MB / 382.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.1232, allocations: 0.8407 MB / 383.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002138/0.1234, allocations: 180 kB / 383.9 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.1237, allocations: 176 kB / 384.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004365/0.1241, allocations: 478.6 kB / 384.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008365/0.125, allocations: 0.7855 MB / 385.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.1271, allocations: 2.232 MB / 387.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.1271, allocations: 4 kB / 387.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1272, allocations: 0 / 387.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.35e-05/0.1272, allocations: 0 / 387.6 MB, free: 2.82 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.003496/0.1307, allocations: 1.759 MB / 389.3 MB, free: 1.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1308, allocations: 8.031 kB / 389.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.131, allocations: 151.2 kB / 389.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.1326, allocations: 0.9384 MB / 390.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.09e-05/0.1327, allocations: 78.41 kB / 390.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.1329, allocations: 108.1 kB / 390.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.1353, allocations: 1.537 MB / 392.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.1354, allocations: 7.984 kB / 392.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.1355, allocations: 40 kB / 392.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.1356, allocations: 42.03 kB / 392.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.138, allocations: 1.429 MB / 393.7 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008039/0.146, allocations: 4.859 MB / 398.5 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.1481, allocations: 1.449 MB / 400 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.1494, allocations: 0.7427 MB / 400.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.1495, allocations: 20.44 kB / 400.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009744/0.1505, allocations: 0.6045 MB / 401.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.785e-06/0.1505, allocations: 0 / 401.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.00621/0.1567, allocations: 2.419 MB / 403.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.1568, allocations: 85.77 kB / 403.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.1584, allocations: 0.9344 MB / 404.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.1586, allocations: 41.7 kB / 404.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.159, allocations: 0.5269 MB / 405.4 MB, free: 492 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.1592, allocations: 224.8 kB / 405.6 MB, free: 264 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.1595, allocations: 134.6 kB / 405.7 MB, free: 124 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1596, allocations: 334 kB / 406 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006866/0.1603, allocations: 413.7 kB / 406.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.1611, allocations: 0.5524 MB / 407 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.1626, allocations: 0.9387 MB / 407.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.1626, allocations: 8 kB / 407.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002601/0.1652, allocations: 1.3 MB / 409.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.1653, allocations: 8 kB / 409.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.1653, allocations: 4 kB / 409.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.1665, allocations: 398.4 kB / 409.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/0.167, allocations: 115.8 kB / 409.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006155/0.1732, allocations: 4.501 MB / 414.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.1741, allocations: 79.48 kB / 414.3 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.1742, allocations: 24 kB / 414.4 MB, free: 7.203 MB / 350.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.001125/0.1754, allocations: 495.3 kB / 414.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.1757, allocations: 94.81 kB / 414.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.1761, allocations: 124.4 kB / 415.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.1761, allocations: 8 kB / 415.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.1761, allocations: 3.938 kB / 415.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.1761, allocations: 3.984 kB / 415.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004529/0.1807, allocations: 2.583 MB / 417.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.1807, allocations: 8 kB / 417.7 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.1812, allocations: 87.86 kB / 417.7 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008922/0.1821, allocations: 384.8 kB / 418.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.1822, allocations: 19.98 kB / 418.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.1881, allocations: 4.47 MB / 422.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1881, allocations: 3.938 kB / 422.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/0.1914, allocations: 1.948 MB / 424.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006903/0.1922, allocations: 283.9 kB / 424.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.1924, allocations: 15.98 kB / 424.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005672/0.193, allocations: 43.95 kB / 424.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000262/0.1933, allocations: 80.47 kB / 425 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-05/0.1934, allocations: 20 kB / 425 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.1946, allocations: 0.6747 MB / 425.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1946, allocations: 0 / 425.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001249/0.1959, allocations: 346.8 kB / 426 MB, free: 11.29 MB / 366.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 (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 Backend phase and start with SimCode phase: time 0.0002356/0.1961, allocations: 139.1 kB / 426.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.1987, allocations: 1.276 MB / 427.4 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.1987, allocations: 3.984 kB / 427.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.2, allocations: 0.8072 MB / 428.2 MB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.2015, allocations: 247.5 kB / 428.5 MB, free: 8.789 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005971/0.2075, allocations: 2.608 MB / 431.1 MB, free: 6.148 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/0.2088, allocations: 1.384 MB / 432.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006475/0.2095, allocations: 171.2 kB / 432.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.2098, allocations: 59.42 kB / 432.7 MB, free: 4.508 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2098, allocations: 4 kB / 432.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of Templates: time 0.03223/0.242, allocations: 18.44 MB / 451.1 MB, free: 2.023 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)