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.008475/0.008475, allocations: 100.4 kB / 15.73 MB, free: 5.98 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.00173/0.00173, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.551/1.551, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001726/0.001726, allocations: 58.52 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1074, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00617/0.1136, allocations: 4.197 MB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1161, allocations: 0.9624 MB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006552/0.1168, allocations: 8 kB / 378.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.1174, allocations: 99 kB / 378.5 MB, free: 12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.1186, allocations: 190.2 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.1194, allocations: 163.8 kB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1207, allocations: 0.732 MB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005152/0.1212, allocations: 219.1 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.1219, allocations: 282.9 kB / 380 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/0.1225, allocations: 326.6 kB / 380.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.1227, allocations: 60 kB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.123, allocations: 60 kB / 380.5 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002288/0.1232, allocations: 151.5 kB / 380.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005004/0.1237, allocations: 330.3 kB / 380.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.1248, allocations: 0.7084 MB / 381.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1248, allocations: 0 / 381.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1248, allocations: 3.938 kB / 381.6 MB, free: 8.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.611e-05/0.1248, allocations: 0 / 381.6 MB, free: 8.797 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.0021/0.1269, allocations: 0.9119 MB / 382.6 MB, free: 7.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.127, allocations: 8.031 kB / 382.6 MB, free: 7.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.1272, allocations: 76.09 kB / 382.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/0.128, allocations: 385.9 kB / 383 MB, free: 7.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.937e-05/0.1281, allocations: 41.69 kB / 383.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.1282, allocations: 48.38 kB / 383.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1293, allocations: 0.5493 MB / 383.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1293, allocations: 0 / 383.7 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.1294, allocations: 24 kB / 383.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1294, allocations: 12 kB / 383.7 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000888/0.1303, allocations: 447.7 kB / 384.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003143/0.1334, allocations: 2.022 MB / 386.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009598/0.1344, allocations: 0.6454 MB / 386.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006/0.135, allocations: 410.2 kB / 387.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.1351, allocations: 8.562 kB / 387.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.1351, allocations: 39.12 kB / 387.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.705e-06/0.1352, allocations: 0 / 387.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004436/0.1396, allocations: 2.024 MB / 389.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.864e-05/0.1397, allocations: 63.97 kB / 389.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.1401, allocations: 361.6 kB / 389.7 MB, free: 380 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1401, allocations: 37.7 kB / 389.7 MB, free: 336 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.1403, allocations: 229.2 kB / 389.9 MB, free: 100 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.1405, allocations: 209.2 kB / 390.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.1406, allocations: 94.16 kB / 390.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1408, allocations: 350.8 kB / 390.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.1411, allocations: 169 kB / 390.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003549/0.1415, allocations: 215.8 kB / 391 MB, free: 15.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/0.1422, allocations: 384.8 kB / 391.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1422, allocations: 0 / 391.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001208/0.1434, allocations: 0.6656 MB / 392 MB, free: 13.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.1434, allocations: 11.94 kB / 392 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1435, allocations: 4.031 kB / 392 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007328/0.1442, allocations: 251.2 kB / 392.3 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.1445, allocations: 63.89 kB / 392.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006889/0.1514, allocations: 7.489 MB / 399.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.1518, allocations: 20.03 kB / 399.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.1519, allocations: 27.98 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.0002619/0.1522, allocations: 165.9 kB / 400 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.554e-05/0.1523, allocations: 51.34 kB / 400.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.1524, allocations: 64.95 kB / 400.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.1524, allocations: 8 kB / 400.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.1524, allocations: 3.938 kB / 400.1 MB, free: 5.258 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1524, allocations: 3.984 kB / 400.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.1547, allocations: 1.341 MB / 401.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.1547, allocations: 0 / 401.5 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.155, allocations: 67.89 kB / 401.6 MB, free: 3.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007121/0.1557, allocations: 263.4 kB / 401.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.1557, allocations: 12 kB / 401.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006678/0.1624, allocations: 7.493 MB / 409.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1625, allocations: 0 / 409.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.1642, allocations: 1.037 MB / 410.4 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.1644, allocations: 156.4 kB / 410.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.799e-05/0.1645, allocations: 12 kB / 410.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.1648, allocations: 19.98 kB / 410.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.1649, allocations: 52.48 kB / 410.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.165, allocations: 16 kB / 410.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.1652, allocations: 259.2 kB / 410.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1653, allocations: 0 / 410.9 MB, free: 9.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008781/0.1661, 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.0001545/0.1663, allocations: 111.2 kB / 411.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.168, allocations: 1.037 MB / 412.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.168, allocations: 0 / 412.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.1691, allocations: 0.8375 MB / 413 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.1696, allocations: 93.84 kB / 413.1 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0023/0.1719, allocations: 1.279 MB / 414.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/0.1724, allocations: 0.8714 MB / 415.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.1726, allocations: 52.53 kB / 415.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.312e-05/0.1726, allocations: 35.44 kB / 415.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1727, allocations: 0 / 415.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of Templates: time 0.01691/0.1896, allocations: 9.405 MB / 424.7 MB, free: 11.79 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)