Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0073/0.0073, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001308/0.001308, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.586/1.586, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001206/0.001206, allocations: 58.91 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1135, allocations: 46.61 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006023/0.1196, allocations: 4.197 MB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.1213, allocations: 0.9624 MB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.1215, allocations: 8 kB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.1218, allocations: 99 kB / 378.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.1223, allocations: 194.3 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.1226, allocations: 163.7 kB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006578/0.1233, allocations: 0.7321 MB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.1237, allocations: 215.1 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.1239, allocations: 286.9 kB / 380 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.1243, allocations: 330.5 kB / 380.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-05/0.1244, allocations: 64 kB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.54e-05/0.1245, allocations: 63.94 kB / 380.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.1247, allocations: 143.5 kB / 380.6 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002954/0.125, allocations: 326.3 kB / 380.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007336/0.1257, allocations: 0.7162 MB / 381.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.1258, allocations: 4 kB / 381.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1258, allocations: 0 / 381.6 MB, free: 8.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.1258, allocations: 3.938 kB / 381.7 MB, free: 8.785 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.001448/0.1272, allocations: 0.9041 MB / 382.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1273, allocations: 12.03 kB / 382.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1274, allocations: 72.09 kB / 382.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.1279, allocations: 385.9 kB / 383 MB, free: 7.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.128, allocations: 37.69 kB / 383.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.891e-05/0.1281, allocations: 52.38 kB / 383.1 MB, free: 7.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/0.1291, allocations: 0.5532 MB / 383.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1291, allocations: 3.938 kB / 383.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.1291, allocations: 20 kB / 383.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/0.1292, allocations: 12 kB / 383.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008238/0.13, allocations: 443.7 kB / 384.1 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.1328, allocations: 2.026 MB / 386.2 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/0.1337, allocations: 0.6454 MB / 386.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006222/0.1344, allocations: 402.2 kB / 387.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.1344, allocations: 12.56 kB / 387.2 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1345, allocations: 39.06 kB / 387.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 1.683e-06/0.1345, allocations: 0 / 387.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.00431/0.1388, allocations: 2.028 MB / 389.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.1389, allocations: 63.97 kB / 389.3 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003453/0.1392, allocations: 361.6 kB / 389.7 MB, free: 372 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.1393, allocations: 33.7 kB / 389.7 MB, free: 332 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.1394, allocations: 233.2 kB / 389.9 MB, free: 92 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.1396, allocations: 201.2 kB / 390.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1397, allocations: 98.14 kB / 390.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1399, allocations: 354.8 kB / 390.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.1403, allocations: 173 kB / 390.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.1407, allocations: 207.8 kB / 391 MB, free: 15.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.1414, allocations: 380.8 kB / 391.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1414, allocations: 0 / 391.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001157/0.1425, allocations: 0.6656 MB / 392 MB, free: 13.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1426, allocations: 13.02 kB / 392 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1426, allocations: 4.031 kB / 392 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006848/0.1433, allocations: 259.1 kB / 392.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.1436, allocations: 63.89 kB / 392.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006623/0.1502, allocations: 7.497 MB / 399.8 MB, free: 5.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.1505, allocations: 20.02 kB / 399.8 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.1505, allocations: 12.06 kB / 399.9 MB, free: 5.559 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.0002354/0.1508, allocations: 177.8 kB / 400 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.242e-05/0.1509, allocations: 55.34 kB / 400.1 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.151, allocations: 60.95 kB / 400.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.151, allocations: 4 kB / 400.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.151, allocations: 7.938 kB / 400.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.151, allocations: 3.984 kB / 400.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.1531, allocations: 1.345 MB / 401.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1531, allocations: 0 / 401.5 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.1534, allocations: 59.89 kB / 401.6 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006391/0.1541, allocations: 259.5 kB / 401.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.1541, allocations: 12 kB / 401.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00669/0.1608, allocations: 7.497 MB / 409.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.1609, allocations: 0 / 409.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.1628, allocations: 1.03 MB / 410.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.1631, allocations: 164.4 kB / 410.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.1632, allocations: 12 kB / 410.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.1634, allocations: 15.98 kB / 410.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/0.1636, allocations: 56.42 kB / 410.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.1636, allocations: 12 kB / 410.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003205/0.164, allocations: 255.2 kB / 410.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.164, allocations: 0 / 410.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009122/0.1649, allocations: 176 kB / 411 MB, free: 9.695 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.0001706/0.1651, allocations: 119.2 kB / 411.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.1668, allocations: 1.041 MB / 412.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1668, allocations: 0 / 412.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.168, allocations: 0.8375 MB / 413 MB, free: 7.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005531/0.1686, allocations: 89.67 kB / 413.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.1709, allocations: 1.279 MB / 414.4 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.1714, allocations: 0.8714 MB / 415.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.1716, allocations: 56.53 kB / 415.3 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.1717, allocations: 27.44 kB / 415.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1717, allocations: 0 / 415.3 MB, free: 5.207 MB / 350.1 MB Notification: Performance of Templates: time 0.01696/0.1887, allocations: 9.105 MB / 424.4 MB, free: 12.08 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)