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.001194/0.001194, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.001597/0.001597, allocations: 168.7 kB / 15.95 MB, free: 204 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.587/1.587, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.000736/0.000736, allocations: 14.81 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2523, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003833/0.2562, allocations: 3.617 MB / 330.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.259, allocations: 0.9382 MB / 331 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/0.2596, allocations: 8.219 kB / 331 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.2599, allocations: 67.56 kB / 331.1 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006183/0.2605, allocations: 173.5 kB / 331.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003931/0.2609, allocations: 111.7 kB / 331.4 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000936/0.2619, allocations: 0.6751 MB / 332.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.2623, allocations: 167.7 kB / 332.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.2627, allocations: 237.7 kB / 332.5 MB, free: 12.83 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000482/0.2632, allocations: 291.6 kB / 332.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.2633, allocations: 34.16 kB / 332.8 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.2634, allocations: 33.84 kB / 332.8 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.2636, allocations: 111.2 kB / 332.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.2637, allocations: 135.2 kB / 333 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006287/0.2644, allocations: 0.5035 MB / 333.6 MB, free: 12.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2644, allocations: 0.9688 kB / 333.6 MB, free: 12.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.2644, allocations: 0 / 333.6 MB, free: 12.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.094e-05/0.2644, allocations: 0 / 333.6 MB, free: 12.08 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.001579/0.266, allocations: 0.8308 MB / 334.4 MB, free: 11.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.974e-05/0.2661, allocations: 8.688 kB / 334.4 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.2662, allocations: 69.5 kB / 334.5 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005446/0.2668, allocations: 365.3 kB / 334.8 MB, free: 11.04 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.2669, allocations: 41.98 kB / 334.9 MB, free: 11.01 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/0.2669, allocations: 52 kB / 334.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.268, allocations: 0.5531 MB / 335.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.268, allocations: 0 / 335.5 MB, free: 10.38 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.2681, allocations: 20 kB / 335.5 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.2681, allocations: 12 kB / 335.5 MB, free: 10.35 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.269, allocations: 455.7 kB / 335.9 MB, free: 9.902 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.2719, allocations: 2.061 MB / 338 MB, free: 7.758 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/0.2728, allocations: 0.6493 MB / 338.6 MB, free: 7.078 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005969/0.2735, allocations: 406.2 kB / 339 MB, free: 6.68 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.2735, allocations: 4.562 kB / 339 MB, free: 6.676 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.2736, allocations: 47.12 kB / 339.1 MB, free: 6.621 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 3.367e-06/0.2736, allocations: 4 kB / 339.1 MB, free: 6.617 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004388/0.278, allocations: 2.048 MB / 341.1 MB, free: 4.449 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.278, allocations: 63.97 kB / 341.2 MB, free: 4.375 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.2785, allocations: 361.6 kB / 341.6 MB, free: 4.012 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.2785, allocations: 37.7 kB / 341.6 MB, free: 3.969 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.2787, allocations: 233.2 kB / 341.8 MB, free: 3.738 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.2789, allocations: 205 kB / 342 MB, free: 3.535 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.279, allocations: 11.94 kB / 342 MB, free: 3.523 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.2792, allocations: 354.8 kB / 342.4 MB, free: 3.168 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003336/0.2795, allocations: 177 kB / 342.6 MB, free: 2.992 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.2799, allocations: 219.8 kB / 342.8 MB, free: 2.773 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.2802, allocations: 186.1 kB / 343 MB, free: 2.59 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2803, allocations: 0 / 343 MB, free: 2.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001178/0.2814, allocations: 0.6696 MB / 343.6 MB, free: 1.898 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2815, allocations: 4 kB / 343.6 MB, free: 1.895 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.2815, allocations: 0 / 343.6 MB, free: 1.895 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00072/0.2822, allocations: 259.2 kB / 343.9 MB, free: 1.629 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/0.2825, allocations: 63.91 kB / 343.9 MB, free: 1.566 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/0.2888, allocations: 6.77 MB / 350.7 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.2891, allocations: 20.03 kB / 350.7 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.2891, allocations: 19.98 kB / 350.8 MB, free: 10.22 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.0002258/0.2894, allocations: 177.8 kB / 350.9 MB, free: 10.04 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.228e-05/0.2895, allocations: 47.44 kB / 351 MB, free: 9.988 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.2896, allocations: 64.91 kB / 351 MB, free: 9.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.2896, allocations: 11.94 kB / 351 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.2896, allocations: 0 / 351 MB, free: 9.914 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.2896, allocations: 3.984 kB / 351.1 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/0.2917, allocations: 1.353 MB / 352.4 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2917, allocations: 0 / 352.4 MB, free: 8.492 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.292, allocations: 60.02 kB / 352.5 MB, free: 8.434 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006371/0.2926, allocations: 263.2 kB / 352.7 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.2926, allocations: 12 kB / 352.7 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/0.2988, allocations: 6.781 MB / 359.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2988, allocations: 0.5625 kB / 359.5 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/0.3005, allocations: 1.045 MB / 360.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.3007, allocations: 156.5 kB / 360.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.611e-05/0.3008, allocations: 15.98 kB / 360.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.301, allocations: 20 kB / 360.7 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.3011, allocations: 48.48 kB / 360.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.3012, allocations: 23.92 kB / 360.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002705/0.3015, allocations: 255.2 kB / 361.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3015, allocations: 0 / 361.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008534/0.3023, allocations: 172 kB / 361.2 MB, free: 15.06 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.0001527/0.3025, allocations: 115.2 kB / 361.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.304, allocations: 1.037 MB / 362.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.304, allocations: 8 kB / 362.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.3052, allocations: 0.8491 MB / 363.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006106/0.3058, allocations: 81.48 kB / 363.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.3083, allocations: 1.518 MB / 364.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.3089, allocations: 0.8714 MB / 365.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.309, allocations: 52.53 kB / 365.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.3092, allocations: 27.44 kB / 365.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of SimCode: time 3.095e-06/0.3092, allocations: 0 / 365.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of Templates: time 0.01511/0.3243, allocations: 7.866 MB / 373.7 MB, free: 2.477 MB / 302.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)