Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01194/0.01194, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.002243/0.002243, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.8/1.8, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001254/0.001254, allocations: 50.45 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1296, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse): time 0.006799/0.1365, allocations: 3.647 MB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1385, allocations: 0.9589 MB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002508/0.1388, allocations: 8 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.1392, allocations: 83.16 kB / 377.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.1396, allocations: 134.8 kB / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.14, allocations: 163.8 kB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006545/0.1407, allocations: 0.6107 MB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004112/0.1411, allocations: 215.4 kB / 379 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.1414, allocations: 223.2 kB / 379.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003724/0.1418, allocations: 250.9 kB / 379.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.381e-05/0.1419, allocations: 56 kB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.142, allocations: 56 kB / 379.6 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.1421, allocations: 115.6 kB / 379.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.1424, allocations: 270.7 kB / 380 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007901/0.1432, allocations: 0.6229 MB / 380.6 MB, free: 9.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1432, allocations: 0 / 380.6 MB, free: 9.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1432, allocations: 0 / 380.6 MB, free: 9.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.1433, allocations: 0 / 380.6 MB, free: 9.875 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001704/0.145, allocations: 0.7651 MB / 381.3 MB, free: 9.059 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.145, allocations: 12.02 kB / 381.4 MB, free: 9.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.1452, allocations: 56.28 kB / 381.4 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.1457, allocations: 372.2 kB / 381.8 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.1457, allocations: 29.38 kB / 381.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.916e-05/0.1458, allocations: 44.38 kB / 381.8 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.1466, allocations: 453.5 kB / 382.3 MB, free: 8.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.1466, allocations: 11.84 kB / 382.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.1467, allocations: 24 kB / 382.3 MB, free: 8.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1467, allocations: 8 kB / 382.3 MB, free: 8.004 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/0.1473, allocations: 315.8 kB / 382.6 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.1498, allocations: 1.828 MB / 384.5 MB, free: 5.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008315/0.1506, allocations: 0.6023 MB / 385.1 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.1512, allocations: 273.4 kB / 385.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.1513, allocations: 4.328 kB / 385.3 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004847/0.1518, allocations: 269.2 kB / 385.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 2.215e-06/0.1518, allocations: 0 / 385.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=43): time 0.002435/0.1542, allocations: 0.8432 MB / 386.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.1543, allocations: 93.06 kB / 386.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.1547, allocations: 308.5 kB / 386.8 MB, free: 3.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.1547, allocations: 37.7 kB / 386.9 MB, free: 3.211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.1549, allocations: 216.3 kB / 387.1 MB, free: 2.992 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.155, allocations: 130.2 kB / 387.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.1552, allocations: 90.16 kB / 387.3 MB, free: 2.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1553, allocations: 350.7 kB / 387.6 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1556, allocations: 117.1 kB / 387.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.1559, allocations: 257 kB / 388 MB, free: 1.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/0.1565, allocations: 374.9 kB / 388.4 MB, free: 1.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1565, allocations: 4 kB / 388.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008794/0.1574, allocations: 0.5047 MB / 388.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.1574, allocations: 11.98 kB / 388.9 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1574, allocations: 4 kB / 388.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005308/0.158, allocations: 157.1 kB / 389 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1582, allocations: 59.91 kB / 389.1 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.1612, allocations: 2.545 MB / 391.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.1615, allocations: 39.59 kB / 391.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.1615, allocations: 20 kB / 391.7 MB, free: 14.08 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: 13 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n2.off,rectifier.diode_n1.off,rectifier.diode_p2.off,rectifier.diode_p1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {(4,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002528/0.1618, allocations: 174 kB / 391.9 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.1618, allocations: 47.47 kB / 391.9 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.1619, allocations: 48.3 kB / 392 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.162, allocations: 7.938 kB / 392 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.162, allocations: 0 / 392 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.162, allocations: 0 / 392 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.1636, allocations: 1.02 MB / 393 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1636, allocations: 4.078 kB / 393 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.1637, allocations: 40.02 kB / 393 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003897/0.1641, allocations: 148.7 kB / 393.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.1642, allocations: 8 kB / 393.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/0.167, allocations: 2.538 MB / 395.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.167, allocations: 0 / 395.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.1681, allocations: 0.7246 MB / 396.5 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.1683, allocations: 148.6 kB / 396.6 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.1684, allocations: 11.94 kB / 396.6 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1686, allocations: 15.98 kB / 396.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1687, allocations: 31.95 kB / 396.7 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/0.1688, allocations: 15.98 kB / 396.7 MB, free: 8.855 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.169, allocations: 215.1 kB / 396.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.169, allocations: 0 / 396.9 MB, free: 8.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006406/0.1697, allocations: 151.7 kB / 397 MB, free: 8.496 MB / 334.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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {(4,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002115/0.1699, allocations: 119.2 kB / 397.2 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1709, allocations: 0.5337 MB / 397.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1709, allocations: 0 / 397.7 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.1715, allocations: 386.2 kB / 398.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.172, allocations: 77.77 kB / 398.1 MB, free: 7.355 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.1738, allocations: 0.847 MB / 399 MB, free: 6.477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.1742, allocations: 0.824 MB / 399.8 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1744, allocations: 39.3 kB / 399.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.1744, allocations: 31.44 kB / 399.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1745, allocations: 0 / 399.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of Templates: time 0.01368/0.1881, allocations: 6.98 MB / 406.9 MB, free: 14.57 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.pipe 2>&1)