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.006291/0.006297, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.001497/0.001497, allocations: 193.8 kB / 16.68 MB, free: 5.953 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.602/1.602, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001221/0.001221, allocations: 54.31 kB / 326.6 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1072, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005864/0.1131, allocations: 4.507 MB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1157, allocations: 1.266 MB / 379 MB, free: 11.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.1161, allocations: 23.88 kB / 379 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004022/0.1165, allocations: 162.7 kB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009859/0.1175, allocations: 354.1 kB / 379.5 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004365/0.1179, allocations: 199.7 kB / 379.7 MB, free: 10.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.1194, allocations: 1.623 MB / 381.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.1205, allocations: 0.9335 MB / 382.2 MB, free: 8.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.1213, allocations: 0.6813 MB / 382.9 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.1224, allocations: 0.8407 MB / 383.8 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.1227, allocations: 172 kB / 383.9 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.1229, allocations: 176 kB / 384.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.1233, allocations: 474.7 kB / 384.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008167/0.1242, allocations: 0.7894 MB / 385.3 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.1261, allocations: 2.232 MB / 387.6 MB, free: 2.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1261, allocations: 8 kB / 387.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1261, allocations: 3.938 kB / 387.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.117e-05/0.1262, 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.003226/0.1294, allocations: 1.748 MB / 389.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1295, allocations: 16.03 kB / 389.4 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002788/0.1297, allocations: 151.1 kB / 389.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.1311, allocations: 0.9306 MB / 390.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.05e-05/0.1312, allocations: 82.39 kB / 390.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.1314, allocations: 104.1 kB / 390.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00271/0.1341, allocations: 1.545 MB / 392.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.1342, allocations: 4 kB / 392.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.1343, allocations: 43.91 kB / 392.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.415e-05/0.1344, allocations: 53.95 kB / 392.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.1369, allocations: 1.417 MB / 393.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007521/0.1444, allocations: 4.867 MB / 398.5 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.1463, allocations: 1.445 MB / 400 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.1477, allocations: 0.7427 MB / 400.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.1477, allocations: 16.5 kB / 400.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.1488, allocations: 0.6045 MB / 401.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.385e-06/0.1488, allocations: 0 / 401.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.006059/0.1549, allocations: 2.415 MB / 403.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.477e-05/0.155, allocations: 89.75 kB / 403.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/0.1564, allocations: 0.9344 MB / 404.8 MB, free: 1.066 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.704e-05/0.1565, allocations: 45.7 kB / 404.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/0.157, allocations: 0.5191 MB / 405.4 MB, free: 500 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.1573, allocations: 232.7 kB / 405.6 MB, free: 264 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.1575, allocations: 130.6 kB / 405.7 MB, free: 128 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1577, allocations: 337.9 kB / 406 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007466/0.1585, allocations: 413.7 kB / 406.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008348/0.1593, allocations: 0.5563 MB / 407 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.1608, allocations: 0.9426 MB / 407.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.1608, allocations: 4 kB / 407.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002268/0.1631, allocations: 1.295 MB / 409.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1631, allocations: 8 kB / 409.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1632, allocations: 4 kB / 409.3 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009601/0.1641, allocations: 398.9 kB / 409.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.1647, allocations: 115.8 kB / 409.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/0.1707, allocations: 4.49 MB / 414.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.1714, allocations: 87.47 kB / 414.3 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.1715, allocations: 24 kB / 414.4 MB, free: 7.207 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.0007971/0.1723, allocations: 499.2 kB / 414.8 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.1724, allocations: 94.81 kB / 414.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.1727, allocations: 120.5 kB / 415.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1727, allocations: 8 kB / 415.1 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1727, allocations: 4.125 kB / 415.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.1727, allocations: 3.984 kB / 415.1 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004158/0.1769, allocations: 2.59 MB / 417.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1769, allocations: 0 / 417.7 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.1774, allocations: 83.88 kB / 417.7 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008323/0.1782, allocations: 392.7 kB / 418.1 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.1783, allocations: 20 kB / 418.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005734/0.184, allocations: 4.462 MB / 422.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.184, allocations: 3.938 kB / 422.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003343/0.1874, allocations: 1.955 MB / 424.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.188, allocations: 283.9 kB / 424.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.1881, allocations: 12 kB / 424.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.1886, allocations: 47.94 kB / 424.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/0.1889, allocations: 76.55 kB / 425 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.984e-05/0.1889, allocations: 24.11 kB / 425 MB, free: 12.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009579/0.1899, allocations: 0.6707 MB / 425.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1899, allocations: 0 / 425.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001243/0.1912, allocations: 350.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.0002294/0.1914, allocations: 127 kB / 426.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002435/0.1938, allocations: 1.28 MB / 427.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.1939, allocations: 4 kB / 427.4 MB, free: 9.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.1951, allocations: 0.807 MB / 428.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.1962, allocations: 235.5 kB / 428.5 MB, free: 8.809 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004862/0.2011, allocations: 2.615 MB / 431.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.2022, allocations: 1.38 MB / 432.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004885/0.2027, allocations: 175.3 kB / 432.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.2029, allocations: 55.42 kB / 432.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of SimCode: time 1.623e-06/0.2029, allocations: 0 / 432.7 MB, free: 4.523 MB / 366.1 MB Notification: Performance of Templates: time 0.03016/0.2331, allocations: 18.45 MB / 451.1 MB, free: 2.035 MB / 382.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)