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.001287/0.001287, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 195.9 kB / 16.54 MB, free: 6.672 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.54/1.54, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001348/0.001348, allocations: 59.86 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2395, allocations: 46.63 MB / 325.3 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005503/0.245, allocations: 4.212 MB / 329.5 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.2472, allocations: 0.9525 MB / 330.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.2475, allocations: 13.03 kB / 330.5 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002625/0.2478, allocations: 98.69 kB / 330.6 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.2483, allocations: 193.6 kB / 330.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.2486, allocations: 158 kB / 330.9 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000744/0.2493, allocations: 0.7313 MB / 331.7 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.2497, allocations: 218.5 kB / 331.9 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.2501, allocations: 282.4 kB / 332.1 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.2505, allocations: 331.9 kB / 332.5 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.2506, allocations: 59.91 kB / 332.5 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.2507, allocations: 60.75 kB / 332.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.2509, allocations: 147 kB / 332.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.2512, allocations: 328.6 kB / 333 MB, free: 11.99 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000735/0.252, allocations: 0.6958 MB / 333.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.252, allocations: 3.984 kB / 333.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.252, allocations: 0 / 333.7 MB, free: 11.45 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.252, allocations: 4 kB / 333.8 MB, free: 11.44 MB / 270.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.001467/0.2535, allocations: 0.9119 MB / 334.7 MB, free: 10.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2535, allocations: 8.031 kB / 334.7 MB, free: 10.47 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.2536, allocations: 68.19 kB / 334.7 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.2541, allocations: 377.9 kB / 335.1 MB, free: 10 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.2542, allocations: 41.69 kB / 335.1 MB, free: 9.961 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.56e-05/0.2543, allocations: 60.28 kB / 335.2 MB, free: 9.902 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008852/0.2552, allocations: 0.5377 MB / 335.7 MB, free: 9.332 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2552, allocations: 3.938 kB / 335.7 MB, free: 9.328 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.2552, allocations: 24 kB / 335.8 MB, free: 9.305 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.2553, allocations: 12 kB / 335.8 MB, free: 9.293 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.2561, allocations: 443.7 kB / 336.2 MB, free: 8.859 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.259, allocations: 2.046 MB / 338.3 MB, free: 6.727 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009727/0.26, allocations: 0.6415 MB / 338.9 MB, free: 6.059 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.2606, allocations: 402.2 kB / 339.3 MB, free: 5.664 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.2607, allocations: 4.562 kB / 339.3 MB, free: 5.656 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.2607, allocations: 39.12 kB / 339.3 MB, free: 5.609 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 2.675e-06/0.2607, allocations: 0 / 339.3 MB, free: 5.609 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004699/0.2654, allocations: 2.044 MB / 341.4 MB, free: 3.445 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.2655, allocations: 55.97 kB / 341.4 MB, free: 3.379 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003938/0.2659, allocations: 357.7 kB / 341.8 MB, free: 3.016 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.2659, allocations: 33.7 kB / 341.8 MB, free: 2.977 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.2661, allocations: 233.2 kB / 342 MB, free: 2.746 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.2663, allocations: 209 kB / 342.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.2664, allocations: 90.25 kB / 342.3 MB, free: 2.445 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.2666, allocations: 358.8 kB / 342.7 MB, free: 2.086 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.2669, allocations: 165 kB / 342.9 MB, free: 1.926 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.2673, allocations: 211.8 kB / 343.1 MB, free: 1.715 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.268, allocations: 384.8 kB / 343.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.268, allocations: 0 / 343.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001203/0.2692, allocations: 0.6695 MB / 344.1 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.2692, allocations: 7.938 kB / 344.1 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2692, allocations: 3.984 kB / 344.1 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007235/0.27, allocations: 251.2 kB / 344.4 MB, free: 384 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.2703, allocations: 71.83 kB / 344.4 MB, free: 312 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00676/0.277, allocations: 7.501 MB / 351.9 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.2774, allocations: 20.08 kB / 352 MB, free: 8.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.2774, allocations: 16.09 kB / 352 MB, free: 8.211 MB / 286.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.0002376/0.2777, allocations: 177.9 kB / 352.1 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.643e-05/0.2778, allocations: 51.44 kB / 352.2 MB, free: 7.977 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.2779, allocations: 64.95 kB / 352.3 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.2779, allocations: 4 kB / 352.3 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.2779, allocations: 11.94 kB / 352.3 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.278, allocations: 3.984 kB / 352.3 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.28, allocations: 1.337 MB / 353.6 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.28, allocations: 0 / 353.6 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.2803, allocations: 51.91 kB / 353.7 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000639/0.2809, allocations: 259.2 kB / 353.9 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.281, allocations: 12 kB / 353.9 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006316/0.2873, allocations: 7.505 MB / 361.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2873, allocations: 128 / 361.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001732/0.2891, allocations: 1.025 MB / 362.5 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.2893, allocations: 168.6 kB / 362.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.685e-05/0.2894, allocations: 19.88 kB / 362.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.2897, allocations: 19.98 kB / 362.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.2899, allocations: 48.48 kB / 362.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.2899, allocations: 16 kB / 362.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003222/0.2902, allocations: 255.2 kB / 363 MB, free: 12.51 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2902, allocations: 0 / 363 MB, free: 12.51 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009001/0.2911, allocations: 172 kB / 363.1 MB, free: 12.34 MB / 302.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.0001626/0.2913, allocations: 123.2 kB / 363.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.2932, allocations: 1.061 MB / 364.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2932, allocations: 0 / 364.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.2943, allocations: 0.8375 MB / 365.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.2949, allocations: 93.47 kB / 365.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.2973, allocations: 1.295 MB / 366.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.2979, allocations: 0.8754 MB / 367.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001682/0.2981, allocations: 52.53 kB / 367.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.2982, allocations: 27.44 kB / 367.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2982, allocations: 0 / 367.5 MB, free: 7.82 MB / 302.1 MB Notification: Performance of Templates: time 0.01866/0.3168, allocations: 8.947 MB / 376.4 MB, free: 14.86 MB / 318.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)