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.007704/0.007704, allocations: 102.2 kB / 15.73 MB, free: 6.477 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.001557/0.001557, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.587/1.587, allocations: 205.1 MB / 222.6 MB, free: 4.559 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.001201/0.001201, allocations: 55.12 kB / 326.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1095, 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.00569/0.1152, allocations: 4.197 MB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.1173, allocations: 0.9585 MB / 378.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003217/0.1176, allocations: 8 kB / 378.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.118, allocations: 98.95 kB / 378.5 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005935/0.1186, allocations: 206.2 kB / 378.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.1189, allocations: 159.8 kB / 378.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008344/0.1198, allocations: 0.7359 MB / 379.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003938/0.1202, allocations: 223 kB / 379.8 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.1206, allocations: 282.9 kB / 380 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.1209, allocations: 326.6 kB / 380.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.871e-05/0.121, allocations: 60 kB / 380.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-05/0.1211, allocations: 60 kB / 380.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.1213, allocations: 151.5 kB / 380.6 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.1217, allocations: 322.3 kB / 380.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007398/0.1224, allocations: 0.7162 MB / 381.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1224, allocations: 0 / 381.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.818e-06/0.1224, allocations: 0 / 381.7 MB, free: 8.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1225, allocations: 3.938 kB / 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.001526/0.124, allocations: 0.9119 MB / 382.6 MB, free: 7.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.124, allocations: 8.031 kB / 382.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.1242, allocations: 76.09 kB / 382.7 MB, free: 7.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.1247, allocations: 374 kB / 383 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.1248, allocations: 41.69 kB / 383.1 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.331e-05/0.1249, allocations: 52.36 kB / 383.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.1259, allocations: 0.5454 MB / 383.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1259, allocations: 0 / 383.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.126, allocations: 24 kB / 383.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.126, allocations: 12 kB / 383.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.1269, allocations: 447.7 kB / 384.1 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.1296, allocations: 2.026 MB / 386.2 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.1305, allocations: 0.6454 MB / 386.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.1311, allocations: 406.2 kB / 387.2 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.1312, allocations: 8.562 kB / 387.2 MB, free: 3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1312, allocations: 39.12 kB / 387.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 2.334e-06/0.1312, allocations: 0 / 387.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.004268/0.1355, allocations: 2.024 MB / 389.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1355, allocations: 63.97 kB / 389.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.1359, allocations: 361.6 kB / 389.7 MB, free: 384 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.136, allocations: 37.7 kB / 389.7 MB, free: 340 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1361, allocations: 229.2 kB / 389.9 MB, free: 104 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.1363, allocations: 205 kB / 390.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.1365, allocations: 94.16 kB / 390.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1367, allocations: 354.8 kB / 390.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.137, allocations: 169 kB / 390.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.1373, allocations: 211.8 kB / 391 MB, free: 15.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007324/0.1381, allocations: 388.8 kB / 391.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1381, allocations: 0 / 391.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001152/0.1392, allocations: 0.6656 MB / 392 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.1393, allocations: 13.03 kB / 392 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1393, allocations: 4.031 kB / 392 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/0.14, allocations: 251.2 kB / 392.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.1403, allocations: 59.91 kB / 392.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006933/0.1473, allocations: 7.497 MB / 399.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.1476, allocations: 23.95 kB / 399.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.1477, allocations: 24.56 kB / 399.9 MB, free: 5.562 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.0002705/0.1479, allocations: 161.8 kB / 400 MB, free: 5.395 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.148, allocations: 55.33 kB / 400.1 MB, free: 5.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.1482, allocations: 64.95 kB / 400.1 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1482, allocations: 8 kB / 400.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/0.1482, allocations: 3.938 kB / 400.1 MB, free: 5.262 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-06/0.1482, allocations: 11.86 kB / 400.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.1505, allocations: 1.341 MB / 401.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1505, allocations: 0 / 401.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.1508, allocations: 59.97 kB / 401.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006463/0.1514, allocations: 255.1 kB / 401.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.1515, allocations: 15.98 kB / 401.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007192/0.1587, allocations: 7.481 MB / 409.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1587, allocations: 0 / 409.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.1605, allocations: 1.041 MB / 410.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.1608, allocations: 165 kB / 410.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.599e-05/0.1608, allocations: 12 kB / 410.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.1611, allocations: 16 kB / 410.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.1612, allocations: 48.48 kB / 410.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.1613, allocations: 19.98 kB / 410.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00028/0.1616, allocations: 255.2 kB / 410.9 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1616, allocations: 3.938 kB / 410.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008731/0.1624, 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.0001725/0.1626, allocations: 119.3 kB / 411.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.1643, allocations: 1.041 MB / 412.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1643, allocations: 0 / 412.2 MB, free: 8.484 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.1655, allocations: 0.8454 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.0005033/0.166, allocations: 93.45 kB / 413.1 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.1683, allocations: 1.263 MB / 414.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005193/0.1689, allocations: 0.8714 MB / 415.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001566/0.169, allocations: 52.53 kB / 415.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.491e-05/0.1691, allocations: 31.44 kB / 415.3 MB, free: 5.219 MB / 350.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1691, allocations: 4 kB / 415.3 MB, free: 5.215 MB / 350.1 MB Notification: Performance of Templates: time 0.01569/0.1848, allocations: 9.112 MB / 424.5 MB, free: 12.09 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)