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.006263/0.006263, allocations: 100.2 kB / 15.73 MB, free: 6.043 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.001351/0.001351, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001194/0.001194, allocations: 49.05 kB / 326.6 MB, free: 14.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1127, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005573/0.1183, allocations: 4.201 MB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1199, allocations: 0.9547 MB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.1201, allocations: 11.94 kB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.1204, allocations: 91.06 kB / 378.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.1208, allocations: 202.2 kB / 378.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1211, allocations: 159.8 kB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.1217, allocations: 0.7321 MB / 379.5 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003439/0.122, allocations: 231 kB / 379.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002827/0.1223, allocations: 278.9 kB / 380 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.1227, allocations: 322.6 kB / 380.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.525e-05/0.1228, allocations: 64 kB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.712e-05/0.1229, allocations: 60 kB / 380.5 MB, free: 9.984 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.1231, allocations: 151.4 kB / 380.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.1234, allocations: 326.3 kB / 380.9 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000639/0.124, allocations: 0.72 MB / 381.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.124, allocations: 3.938 kB / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.124, allocations: 0 / 381.7 MB, free: 8.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.124, allocations: 0 / 381.7 MB, free: 8.789 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.001405/0.1254, allocations: 0.908 MB / 382.6 MB, free: 7.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.1255, allocations: 12.03 kB / 382.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.1256, allocations: 68.09 kB / 382.6 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/0.1262, allocations: 382 kB / 383 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.1262, allocations: 37.69 kB / 383 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.1263, allocations: 52.38 kB / 383.1 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008535/0.1271, allocations: 0.5493 MB / 383.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1272, allocations: 0 / 383.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.809e-05/0.1272, allocations: 20 kB / 383.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.1272, allocations: 12 kB / 383.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007789/0.128, allocations: 451.6 kB / 384.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.1307, allocations: 2.026 MB / 386.1 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008915/0.1316, allocations: 0.6415 MB / 386.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/0.1321, allocations: 406.1 kB / 387.2 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.1322, allocations: 8.562 kB / 387.2 MB, free: 3.004 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.1322, allocations: 43.11 kB / 387.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.645e-06/0.1322, allocations: 4 kB / 387.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004137/0.1364, allocations: 2.02 MB / 389.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.1364, allocations: 63.97 kB / 389.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.1368, allocations: 365.6 kB / 389.7 MB, free: 380 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.1368, allocations: 33.7 kB / 389.7 MB, free: 340 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.137, allocations: 233.2 kB / 389.9 MB, free: 100 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.1372, allocations: 201.2 kB / 390.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1373, allocations: 94.16 kB / 390.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1375, allocations: 358.8 kB / 390.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.1378, allocations: 169 kB / 390.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.1381, allocations: 211.8 kB / 391 MB, free: 15.06 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006632/0.1388, allocations: 380.9 kB / 391.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1388, allocations: 0 / 391.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001177/0.14, allocations: 0.6695 MB / 392 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.14, allocations: 9.031 kB / 392 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1401, allocations: 0 / 392 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007382/0.1408, allocations: 267.1 kB / 392.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1411, allocations: 55.97 kB / 392.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006449/0.1476, allocations: 7.497 MB / 399.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.1479, allocations: 20.02 kB / 399.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.1479, allocations: 15.94 kB / 399.8 MB, free: 5.566 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.0002534/0.1482, allocations: 177.8 kB / 400 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.111e-05/0.1483, allocations: 55.34 kB / 400.1 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.1484, allocations: 64.94 kB / 400.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1484, allocations: 8 kB / 400.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1484, allocations: 3.938 kB / 400.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1484, allocations: 0 / 400.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.1504, allocations: 1.345 MB / 401.5 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1504, allocations: 3.984 kB / 401.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.1507, allocations: 51.97 kB / 401.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006565/0.1514, allocations: 259.5 kB / 401.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.1514, allocations: 12 kB / 401.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005879/0.1573, allocations: 7.493 MB / 409.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1573, allocations: 0 / 409.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.159, allocations: 1.034 MB / 410.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.1593, allocations: 160.4 kB / 410.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.6e-05/0.1593, allocations: 19.98 kB / 410.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.1596, allocations: 12 kB / 410.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.1598, allocations: 52.48 kB / 410.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.1598, allocations: 12 kB / 410.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.1601, allocations: 259.2 kB / 410.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1601, allocations: 0 / 410.8 MB, free: 9.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008847/0.161, allocations: 176 kB / 411 MB, free: 9.707 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.0001749/0.1612, allocations: 119.2 kB / 411.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.1627, allocations: 1.041 MB / 412.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.1628, allocations: 0 / 412.2 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.1638, allocations: 0.8414 MB / 413 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.1643, allocations: 93.91 kB / 413.1 MB, free: 7.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.1664, allocations: 1.267 MB / 414.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1668, allocations: 0.8714 MB / 415.2 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.1669, allocations: 56.53 kB / 415.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.167, allocations: 31.44 kB / 415.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.167, allocations: 0 / 415.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of Templates: time 0.01459/0.1816, allocations: 9.112 MB / 424.4 MB, free: 12.09 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)