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.001334/0.00134, allocations: 101.2 kB / 16.62 MB, free: 6.809 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.001438/0.001438, allocations: 193.8 kB / 17.55 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.511/1.511, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.00137/0.00137, allocations: 51.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1124, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006529/0.119, allocations: 4.216 MB / 330.4 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002545/0.1216, allocations: 0.9628 MB / 331.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006946/0.1223, allocations: 11.94 kB / 331.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.1228, allocations: 67.45 kB / 331.4 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009431/0.1238, allocations: 166.7 kB / 331.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004756/0.1242, allocations: 131.9 kB / 331.7 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1254, allocations: 0.7283 MB / 332.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004782/0.1259, allocations: 215.1 kB / 332.6 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006487/0.1266, allocations: 290.9 kB / 332.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.1273, allocations: 326.5 kB / 333.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.1275, allocations: 64 kB / 333.3 MB, free: 13.58 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.1278, allocations: 64 kB / 333.4 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.128, allocations: 147.4 kB / 333.5 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.1286, allocations: 326.3 kB / 333.8 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.1297, allocations: 0.6967 MB / 334.5 MB, free: 12.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.1297, allocations: 7.922 kB / 334.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1297, allocations: 0 / 334.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.684e-05/0.1298, allocations: 0 / 334.5 MB, free: 12.35 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.002016/0.1318, allocations: 0.908 MB / 335.4 MB, free: 11.39 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1318, allocations: 12.03 kB / 335.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.132, allocations: 68.19 kB / 335.5 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.1324, allocations: 389.9 kB / 335.9 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.1325, allocations: 37.69 kB / 335.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.1326, allocations: 48.38 kB / 336 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009052/0.1335, allocations: 0.5454 MB / 336.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1335, allocations: 4 kB / 336.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/0.1336, allocations: 20 kB / 336.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1336, allocations: 15.94 kB / 336.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.1344, allocations: 451.7 kB / 337 MB, free: 9.754 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002762/0.1371, allocations: 2.042 MB / 339 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008554/0.138, allocations: 0.6376 MB / 339.7 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/0.1386, allocations: 402.2 kB / 340.1 MB, free: 6.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.757e-05/0.1387, allocations: 8.562 kB / 340.1 MB, free: 6.559 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.1387, allocations: 43.06 kB / 340.1 MB, free: 6.508 MB / 286.1 MB Notification: Performance of pre-optimization done (n=60): time 1.864e-06/0.1387, allocations: 4 kB / 340.1 MB, free: 6.504 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004294/0.143, allocations: 2.032 MB / 342.2 MB, free: 4.352 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.1431, allocations: 59.97 kB / 342.2 MB, free: 4.281 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.1435, allocations: 357.7 kB / 342.6 MB, free: 3.922 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.1435, allocations: 41.7 kB / 342.6 MB, free: 3.875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.1437, allocations: 229.2 kB / 342.8 MB, free: 3.648 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.1439, allocations: 201 kB / 343 MB, free: 3.449 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.144, allocations: 86.25 kB / 343.1 MB, free: 3.359 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1442, allocations: 358.8 kB / 343.5 MB, free: 3 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.1445, allocations: 165 kB / 343.6 MB, free: 2.84 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.1449, allocations: 219.8 kB / 343.8 MB, free: 2.617 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.1455, allocations: 372.9 kB / 344.2 MB, free: 2.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1455, allocations: 3.938 kB / 344.2 MB, free: 2.246 MB / 286.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001211/0.1468, allocations: 0.6656 MB / 344.9 MB, free: 1.559 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1468, allocations: 11.88 kB / 344.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1468, allocations: 7.984 kB / 344.9 MB, free: 1.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007147/0.1475, allocations: 267.1 kB / 345.2 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.1478, allocations: 63.89 kB / 345.2 MB, free: 1.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007304/0.1551, allocations: 7.505 MB / 352.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.1555, allocations: 20.02 kB / 352.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.1555, allocations: 16 kB / 352.8 MB, free: 9.105 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.0003228/0.1559, allocations: 169.8 kB / 352.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.462e-05/0.156, allocations: 47.5 kB / 353 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.1561, allocations: 68.95 kB / 353 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1561, allocations: 8 kB / 353 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.1561, allocations: 3.938 kB / 353 MB, free: 8.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/0.1562, allocations: 3.984 kB / 353 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.1584, allocations: 1.337 MB / 354.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1584, allocations: 0 / 354.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.1587, allocations: 59.91 kB / 354.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006448/0.1593, allocations: 263.5 kB / 354.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.1594, allocations: 16 kB / 354.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006663/0.166, allocations: 7.501 MB / 362.2 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1661, allocations: 8 kB / 362.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.1677, allocations: 1.029 MB / 363.3 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.1679, allocations: 160.5 kB / 363.4 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.517e-05/0.168, allocations: 8 kB / 363.4 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.1683, allocations: 19.98 kB / 363.4 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.1684, allocations: 52.42 kB / 363.5 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.1685, allocations: 16 kB / 363.5 MB, free: 13.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000284/0.1687, allocations: 259.2 kB / 363.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1687, allocations: 0 / 363.8 MB, free: 13.4 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009125/0.1697, allocations: 176 kB / 363.9 MB, free: 13.23 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.000174/0.1698, allocations: 111.6 kB / 364 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.1716, allocations: 1.053 MB / 365.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1717, allocations: 0 / 365.1 MB, free: 12.01 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.1728, allocations: 0.8492 MB / 365.9 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.1735, allocations: 101.8 kB / 366 MB, free: 11.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.1759, allocations: 1.504 MB / 367.5 MB, free: 9.477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006742/0.1766, allocations: 0.8754 MB / 368.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001703/0.1768, allocations: 48.55 kB / 368.5 MB, free: 8.527 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.417e-05/0.1769, allocations: 35.44 kB / 368.5 MB, free: 8.492 MB / 318.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1769, allocations: 0 / 368.5 MB, free: 8.492 MB / 318.1 MB Notification: Performance of Templates: time 0.1899/0.3668, allocations: 8.759 MB / 377.3 MB, free: 52.51 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)