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.006584/0.006585, allocations: 99.89 kB / 15.73 MB, free: 6.016 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.001179/0.001179, allocations: 187.4 kB / 16.67 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001098/0.001098, allocations: 46.97 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1096, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00493/0.1146, allocations: 4.197 MB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.116, allocations: 0.9663 MB / 378.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.1162, allocations: 8 kB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1164, allocations: 103 kB / 378.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.1169, allocations: 186.3 kB / 378.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.1172, allocations: 163.7 kB / 378.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006833/0.1179, allocations: 0.736 MB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.1182, allocations: 223.1 kB / 379.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002923/0.1185, allocations: 290.9 kB / 380 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.1189, allocations: 326.5 kB / 380.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/0.119, allocations: 60 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.1191, allocations: 63.94 kB / 380.5 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.1193, allocations: 139.5 kB / 380.6 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.1196, allocations: 330.3 kB / 380.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.1202, allocations: 0.7157 MB / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1203, allocations: 0 / 381.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1203, allocations: 4 kB / 381.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.17e-05/0.1203, allocations: 3.938 kB / 381.7 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.001435/0.1217, allocations: 0.9269 MB / 382.6 MB, free: 7.789 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1218, allocations: 12.02 kB / 382.6 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.1219, allocations: 72.52 kB / 382.7 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.1224, allocations: 386.2 kB / 383 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.1225, allocations: 41.69 kB / 383.1 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.1226, allocations: 48.38 kB / 383.1 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00089/0.1235, allocations: 0.5454 MB / 383.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1235, allocations: 4 kB / 383.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.372e-05/0.1235, allocations: 27.94 kB / 383.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.1236, allocations: 12 kB / 383.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008562/0.1244, allocations: 443.7 kB / 384.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002732/0.1272, allocations: 2.027 MB / 386.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009392/0.1281, allocations: 0.6376 MB / 386.8 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005708/0.1287, allocations: 402.2 kB / 387.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1287, allocations: 4.562 kB / 387.2 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1288, allocations: 47.06 kB / 387.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 1.523e-06/0.1288, allocations: 4 kB / 387.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004323/0.1331, allocations: 2.037 MB / 389.3 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.1332, allocations: 63.97 kB / 389.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/0.1335, allocations: 357.7 kB / 389.7 MB, free: 332 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.1336, allocations: 37.7 kB / 389.8 MB, free: 288 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1338, allocations: 237.5 kB / 390 MB, free: 44 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.134, allocations: 218.3 kB / 390.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.1341, allocations: 86.25 kB / 390.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1342, allocations: 354.8 kB / 390.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.1346, allocations: 169 kB / 390.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.1349, allocations: 211.8 kB / 391 MB, free: 15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.1356, allocations: 384.8 kB / 391.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1356, allocations: 0 / 391.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001136/0.1367, allocations: 0.6657 MB / 392 MB, free: 13.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.1368, allocations: 11.94 kB / 392.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1368, allocations: 0 / 392.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007025/0.1375, allocations: 259.1 kB / 392.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.1378, allocations: 67.89 kB / 392.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00646/0.1443, allocations: 7.509 MB / 399.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002874/0.1446, allocations: 20.02 kB / 399.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-05/0.1446, allocations: 16 kB / 399.9 MB, free: 5.492 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.0002366/0.1449, allocations: 173.8 kB / 400.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.145, allocations: 51.67 kB / 400.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1451, allocations: 60.95 kB / 400.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.1451, allocations: 11.98 kB / 400.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/0.1451, allocations: 3.938 kB / 400.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.1451, allocations: 0 / 400.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.1473, allocations: 1.345 MB / 401.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1473, allocations: 0 / 401.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.1476, allocations: 59.89 kB / 401.6 MB, free: 3.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006713/0.1483, allocations: 259.5 kB / 401.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.1483, allocations: 12 kB / 401.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007027/0.1554, allocations: 7.506 MB / 409.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1554, allocations: 0 / 409.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.1571, allocations: 1.034 MB / 410.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.1573, allocations: 160.9 kB / 410.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.1574, allocations: 11.98 kB / 410.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.1577, allocations: 19.98 kB / 410.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.1578, allocations: 56.42 kB / 410.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.1579, allocations: 16 kB / 410.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003193/0.1582, allocations: 263.2 kB / 410.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1582, allocations: 0 / 410.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008544/0.1591, allocations: 172 kB / 411.1 MB, free: 9.617 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.0001666/0.1592, allocations: 111.2 kB / 411.2 MB, free: 9.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.1608, allocations: 1.053 MB / 412.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1608, allocations: 0 / 412.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.1619, allocations: 0.8414 MB / 413.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005059/0.1625, allocations: 93.72 kB / 413.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.1647, allocations: 1.285 MB / 414.5 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.1652, allocations: 0.8754 MB / 415.4 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.1653, allocations: 56.53 kB / 415.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.1654, allocations: 27.44 kB / 415.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1654, allocations: 0 / 415.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of Templates: time 0.01491/0.1803, allocations: 9.109 MB / 424.6 MB, free: 11.97 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)