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.0009971/0.0009971, allocations: 97.97 kB / 15.05 MB, free: 1.105 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.001094/0.001094, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 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.4 MB / 222.1 MB, free: 5.66 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.0005096/0.0005096, allocations: 12 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2282, allocations: 47.58 MB / 326.4 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003488/0.2317, allocations: 3.368 MB / 329.8 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001505/0.2332, allocations: 0.9715 MB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.2335, allocations: 9.188 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.2336, allocations: 73.94 kB / 330.9 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004791/0.2341, allocations: 219.4 kB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.2343, allocations: 118.9 kB / 331.2 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005633/0.2349, allocations: 491 kB / 331.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.2352, allocations: 167.3 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.2355, allocations: 237.5 kB / 332.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.2359, allocations: 280.2 kB / 332.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.647e-05/0.236, allocations: 33.72 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.2361, allocations: 38.47 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.2363, allocations: 111.5 kB / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.2364, allocations: 138.1 kB / 332.7 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004987/0.2369, allocations: 0.5057 MB / 333.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2369, allocations: 0 / 333.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2369, allocations: 0 / 333.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.237, allocations: 0 / 333.2 MB, free: 12.34 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.001419/0.2384, allocations: 0.8185 MB / 334 MB, free: 11.69 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2384, allocations: 8.5 kB / 334 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.2386, allocations: 74.28 kB / 334.1 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.2391, allocations: 364.5 kB / 334.4 MB, free: 11.31 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.2391, allocations: 42.61 kB / 334.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.551e-05/0.2392, allocations: 49.5 kB / 334.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008351/0.24, allocations: 0.5466 MB / 335.1 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2401, allocations: 0 / 335.1 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.155e-05/0.2401, allocations: 20 kB / 335.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.2401, allocations: 12 kB / 335.1 MB, free: 10.74 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000773/0.2409, allocations: 459.7 kB / 335.5 MB, free: 10.29 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.2435, allocations: 2.065 MB / 337.6 MB, free: 8.141 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.2444, allocations: 0.6415 MB / 338.2 MB, free: 7.469 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.2445, allocations: 4.562 kB / 338.2 MB, free: 7.465 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.2445, allocations: 47.11 kB / 338.3 MB, free: 7.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 1.984e-06/0.2445, allocations: 0 / 338.3 MB, free: 7.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004124/0.2486, allocations: 2.046 MB / 340.3 MB, free: 5.242 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.2487, allocations: 55.97 kB / 340.4 MB, free: 5.176 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.249, allocations: 369.6 kB / 340.8 MB, free: 4.805 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2491, allocations: 33.7 kB / 340.8 MB, free: 4.766 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.2492, allocations: 237.1 kB / 341 MB, free: 4.531 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2494, allocations: 201 kB / 341.2 MB, free: 4.332 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.2494, allocations: 16 kB / 341.2 MB, free: 4.316 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.2495, allocations: 350.8 kB / 341.6 MB, free: 3.965 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.2499, allocations: 177 kB / 341.7 MB, free: 3.793 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.2502, allocations: 215.8 kB / 342 MB, free: 3.578 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003182/0.2505, allocations: 190.1 kB / 342.1 MB, free: 3.391 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2505, allocations: 0 / 342.1 MB, free: 3.391 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001071/0.2516, allocations: 0.6657 MB / 342.8 MB, free: 2.707 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2516, allocations: 7.984 kB / 342.8 MB, free: 2.699 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.2517, allocations: 4 kB / 342.8 MB, free: 2.695 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.2523, allocations: 259.1 kB / 343.1 MB, free: 2.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.2526, allocations: 67.89 kB / 343.1 MB, free: 2.363 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005561/0.2582, allocations: 6.828 MB / 350 MB, free: 10.99 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.2586, allocations: 20.02 kB / 350 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.2586, allocations: 16 kB / 350 MB, free: 10.96 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 (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 initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002354/0.2588, allocations: 177.9 kB / 350.2 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.2589, allocations: 47.44 kB / 350.2 MB, free: 10.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.259, allocations: 68.94 kB / 350.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.259, allocations: 7.953 kB / 350.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.2591, allocations: 4 kB / 350.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.2591, allocations: 480 / 350.3 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001947/0.261, allocations: 1.349 MB / 351.7 MB, free: 9.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.261, allocations: 4 kB / 351.7 MB, free: 9.227 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.2613, allocations: 59.89 kB / 351.7 MB, free: 9.168 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005936/0.2619, allocations: 259.6 kB / 352 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/0.262, allocations: 8 kB / 352 MB, free: 8.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0056/0.2676, allocations: 6.844 MB / 358.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2676, allocations: 0 / 358.8 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.2692, allocations: 1.044 MB / 359.9 MB, free: 448 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002246/0.2694, allocations: 160.5 kB / 360 MB, free: 268 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.916e-05/0.2695, allocations: 15.95 kB / 360 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.2698, allocations: 20 kB / 360.1 MB, free: 232 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.2699, allocations: 52.47 kB / 360.1 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.2699, allocations: 16 kB / 360.1 MB, free: 164 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002735/0.2702, allocations: 251.2 kB / 360.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2702, allocations: 480 / 360.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008754/0.2711, allocations: 176 kB / 360.5 MB, free: 15.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001567/0.2713, allocations: 123.2 kB / 360.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.2727, allocations: 1.033 MB / 361.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2727, allocations: 3.938 kB / 361.7 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009649/0.2737, allocations: 0.8453 MB / 362.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.2741, allocations: 69.48 kB / 362.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/0.2762, allocations: 1.53 MB / 364.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.2766, allocations: 0.8831 MB / 365 MB, free: 11.1 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001511/0.2768, allocations: 56.53 kB / 365.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.2768, allocations: 31.38 kB / 365.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2768, allocations: 0 / 365.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of Templates: time 0.01207/0.2889, allocations: 7.847 MB / 373 MB, free: 3.16 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: