Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009155/0.009155, allocations: 105.4 kB / 15.74 MB, free: 6.012 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.001726/0.001726, allocations: 199.9 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.694/1.694, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.00119/0.00119, allocations: 61.75 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 46.61 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005548/0.1279, allocations: 4.193 MB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1302, allocations: 0.9586 MB / 378.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.1304, allocations: 11.94 kB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.1308, allocations: 91.08 kB / 378.4 MB, free: 12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000524/0.1313, allocations: 202.2 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.1316, allocations: 159.8 kB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007112/0.1323, allocations: 0.732 MB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.1327, allocations: 227 kB / 379.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.133, allocations: 282.9 kB / 380 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003665/0.1334, allocations: 330.6 kB / 380.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.978e-05/0.1335, allocations: 60 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.944e-05/0.1336, allocations: 60 kB / 380.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1338, allocations: 147.5 kB / 380.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002965/0.1341, allocations: 330.3 kB / 380.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006688/0.1347, allocations: 0.7161 MB / 381.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1348, allocations: 0 / 381.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1348, allocations: 0 / 381.6 MB, free: 8.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.1348, allocations: 0 / 381.6 MB, free: 8.77 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001511/0.1363, allocations: 0.9158 MB / 382.6 MB, free: 7.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1364, allocations: 8.031 kB / 382.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.1365, allocations: 72.09 kB / 382.6 MB, free: 7.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.1371, allocations: 378 kB / 383 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.332e-05/0.1371, allocations: 41.69 kB / 383.1 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.076e-05/0.1372, allocations: 52.36 kB / 383.1 MB, free: 7.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008464/0.1381, allocations: 0.5415 MB / 383.6 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.1381, allocations: 4 kB / 383.6 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.1382, allocations: 20 kB / 383.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1382, allocations: 12 kB / 383.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.139, allocations: 455.6 kB / 384.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002753/0.1418, allocations: 2.026 MB / 386.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009359/0.1427, allocations: 0.6415 MB / 386.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.1433, allocations: 410.2 kB / 387.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.1434, allocations: 4.562 kB / 387.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1434, allocations: 39.12 kB / 387.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/0.1434, allocations: 0 / 387.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004754/0.1482, allocations: 2.028 MB / 389.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.1482, allocations: 59.97 kB / 389.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.1486, allocations: 361.6 kB / 389.7 MB, free: 360 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.1487, allocations: 37.7 kB / 389.7 MB, free: 316 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.1489, allocations: 229.2 kB / 389.9 MB, free: 80 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.1491, allocations: 209.2 kB / 390.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.1492, allocations: 94.16 kB / 390.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.1495, allocations: 354.8 kB / 390.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.1498, allocations: 165 kB / 390.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.1502, allocations: 215.8 kB / 390.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.1509, allocations: 384.9 kB / 391.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1509, allocations: 0 / 391.3 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001185/0.1521, allocations: 0.6656 MB / 392 MB, free: 13.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1521, allocations: 11.94 kB / 392 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.1521, allocations: 0 / 392 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007385/0.1529, allocations: 259.2 kB / 392.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.1532, allocations: 59.91 kB / 392.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007007/0.1602, allocations: 7.501 MB / 399.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003723/0.1606, allocations: 23.95 kB / 399.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.1606, allocations: 16 kB / 399.9 MB, free: 5.535 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.1609, allocations: 165.8 kB / 400 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.161, allocations: 59.31 kB / 400.1 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1612, allocations: 69.02 kB / 400.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.1612, allocations: 8 kB / 400.1 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.1612, allocations: 3.938 kB / 400.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1612, allocations: 3.984 kB / 400.2 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.1633, allocations: 1.341 MB / 401.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1633, allocations: 0 / 401.5 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.1636, allocations: 55.97 kB / 401.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006843/0.1643, allocations: 263.5 kB / 401.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.1644, allocations: 15.98 kB / 401.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006799/0.1712, allocations: 7.485 MB / 409.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1712, allocations: 0 / 409.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.173, allocations: 1.041 MB / 410.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.1733, allocations: 160.4 kB / 410.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.1733, allocations: 12 kB / 410.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.1736, allocations: 12 kB / 410.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.1738, allocations: 52.48 kB / 410.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.1738, allocations: 23.98 kB / 410.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002801/0.1741, allocations: 255.2 kB / 410.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1741, allocations: 0 / 410.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000884/0.175, allocations: 176 kB / 411 MB, free: 9.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.1752, allocations: 107.2 kB / 411.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.1768, allocations: 1.037 MB / 412.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1768, allocations: 4.062 kB / 412.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.178, allocations: 0.8453 MB / 413 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.1785, allocations: 93.92 kB / 413.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.1807, allocations: 1.267 MB / 414.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.1811, allocations: 0.8754 MB / 415.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.1813, allocations: 48.53 kB / 415.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.968e-05/0.1814, allocations: 35.44 kB / 415.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1814, allocations: 4 kB / 415.3 MB, free: 5.188 MB / 350.1 MB Notification: Performance of Templates: time 0.01704/0.1984, allocations: 9.116 MB / 424.5 MB, free: 12.05 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)