Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001068/0.001068, allocations: 91.88 kB / 16.65 MB, free: 6.586 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.001313/0.001313, allocations: 182 kB / 17.56 MB, free: 6.203 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.612/1.612, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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.000686/0.0006861, allocations: 12 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1166, allocations: 47.59 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004366/0.121, allocations: 3.823 MB / 332.1 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1226, allocations: 0.9473 MB / 333.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.1229, allocations: 8 kB / 333.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003109/0.1232, allocations: 71.44 kB / 333.2 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006548/0.1239, allocations: 170.6 kB / 333.3 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004032/0.1243, allocations: 135.9 kB / 333.5 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008499/0.1252, allocations: 0.7127 MB / 334.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.1256, allocations: 184.2 kB / 334.4 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003166/0.1259, allocations: 250.9 kB / 334.6 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.1262, allocations: 302.6 kB / 334.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.89e-05/0.1263, allocations: 32 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.36e-05/0.1264, allocations: 36 kB / 335 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1266, allocations: 115.5 kB / 335.1 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002609/0.1268, allocations: 324 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.1274, allocations: 0.6575 MB / 336 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1274, allocations: 0 / 336 MB, free: 11.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1274, allocations: 0 / 336 MB, free: 11.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1274, allocations: 3.938 kB / 336.1 MB, free: 11.97 MB / 286.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.001281/0.1287, allocations: 0.8185 MB / 336.9 MB, free: 11.11 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1288, allocations: 12.03 kB / 336.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.1289, allocations: 68.09 kB / 336.9 MB, free: 11.03 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.1293, allocations: 382 kB / 337.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/0.1293, allocations: 37.69 kB / 337.4 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.1294, allocations: 48.38 kB / 337.4 MB, free: 10.53 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008678/0.1303, allocations: 0.5571 MB / 338 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1303, allocations: 0 / 338 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.1304, allocations: 20 kB / 338 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1304, allocations: 16 kB / 338 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008397/0.1312, allocations: 459.7 kB / 338.4 MB, free: 9.461 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.1339, allocations: 2.073 MB / 340.5 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000898/0.1348, allocations: 0.6454 MB / 341.2 MB, free: 6.629 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006392/0.1354, allocations: 410.1 kB / 341.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.1355, allocations: 4.562 kB / 341.6 MB, free: 6.219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.1355, allocations: 43.12 kB / 341.6 MB, free: 6.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.1355, allocations: 4 kB / 341.6 MB, free: 6.164 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004372/0.1399, allocations: 2.079 MB / 343.7 MB, free: 3.965 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.14, allocations: 55.97 kB / 343.7 MB, free: 3.898 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.1404, allocations: 365.6 kB / 344.1 MB, free: 3.531 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/0.1404, allocations: 33.7 kB / 344.1 MB, free: 3.492 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.1406, allocations: 233.2 kB / 344.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.1407, allocations: 201.1 kB / 344.6 MB, free: 3.062 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.1408, allocations: 49.69 kB / 344.6 MB, free: 3.008 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.141, allocations: 358.8 kB / 345 MB, free: 2.648 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.1413, allocations: 173 kB / 345.1 MB, free: 2.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/0.1417, allocations: 219.8 kB / 345.3 MB, free: 2.258 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.1424, allocations: 396.9 kB / 345.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1424, allocations: 0 / 345.7 MB, free: 1.867 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00118/0.1435, allocations: 0.6773 MB / 346.4 MB, free: 1.168 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1436, allocations: 11.97 kB / 346.4 MB, free: 1.156 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1436, allocations: 4 kB / 346.4 MB, free: 1.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007006/0.1443, allocations: 259.1 kB / 346.7 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.1446, allocations: 63.91 kB / 346.7 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.1506, allocations: 6.781 MB / 353.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.1509, allocations: 24.08 kB / 353.5 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/0.151, allocations: 16 kB / 353.6 MB, free: 9.465 MB / 302.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.0002748/0.1513, allocations: 169.9 kB / 353.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.1514, allocations: 51.34 kB / 353.8 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.1515, allocations: 64.95 kB / 353.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1515, allocations: 11.94 kB / 353.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.1515, allocations: 7.938 kB / 353.9 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.1515, allocations: 7.984 kB / 353.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.1536, allocations: 1.349 MB / 355.2 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.1536, allocations: 4 kB / 355.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.1539, allocations: 59.91 kB / 355.3 MB, free: 7.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006369/0.1545, allocations: 267.4 kB / 355.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.1546, allocations: 16.12 kB / 355.6 MB, free: 7.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006403/0.161, allocations: 6.789 MB / 362.3 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.161, allocations: 0 / 362.3 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.1628, allocations: 1.052 MB / 363.4 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.1631, allocations: 156.5 kB / 363.6 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/0.1631, allocations: 12 kB / 363.6 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.1634, allocations: 23.92 kB / 363.6 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.1635, allocations: 52.48 kB / 363.6 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.1636, allocations: 16 kB / 363.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002803/0.1638, allocations: 259.2 kB / 363.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1639, allocations: 0 / 363.9 MB, free: 14.44 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008502/0.1647, allocations: 172 kB / 364.1 MB, free: 14.27 MB / 318.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.0001664/0.1649, allocations: 115.5 kB / 364.2 MB, free: 14.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.1666, allocations: 1.045 MB / 365.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1666, allocations: 4 kB / 365.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.1678, allocations: 0.8376 MB / 366.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.1685, allocations: 89.67 kB / 366.2 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.1709, allocations: 1.583 MB / 367.7 MB, free: 10.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.1714, allocations: 0.8754 MB / 368.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.1716, allocations: 56.53 kB / 368.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.517e-05/0.1717, allocations: 23.44 kB / 368.7 MB, free: 9.488 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1717, allocations: 3.938 kB / 368.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of Templates: time 0.01472/0.1864, allocations: 8.118 MB / 376.8 MB, free: 1.371 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)