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.0008951/0.0008953, allocations: 100 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.0009238/0.0009239, allocations: 177.3 kB / 15.94 MB, free: 228 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.488/1.488, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.0004489/0.0004492, allocations: 15.98 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2439, allocations: 47.58 MB / 326.4 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003705/0.2476, allocations: 3.382 MB / 329.8 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.249, allocations: 0.963 MB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.2492, allocations: 11.75 kB / 330.8 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.2493, allocations: 70.84 kB / 330.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004265/0.2498, allocations: 226.9 kB / 331.1 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.25, allocations: 115 kB / 331.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.2505, allocations: 491.3 kB / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002852/0.2508, allocations: 171.4 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.2511, allocations: 233 kB / 332.1 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.2515, allocations: 280.7 kB / 332.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.103e-05/0.2516, allocations: 33.91 kB / 332.4 MB, free: 12.92 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.2517, allocations: 38.88 kB / 332.4 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.2518, allocations: 115 kB / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001877/0.252, allocations: 134.4 kB / 332.7 MB, free: 12.74 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006825/0.2527, allocations: 0.5052 MB / 333.2 MB, free: 12.35 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2527, allocations: 3.938 kB / 333.2 MB, free: 12.35 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2527, allocations: 1.219 kB / 333.2 MB, free: 12.35 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.2528, allocations: 0 / 333.2 MB, free: 12.35 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.001933/0.2547, allocations: 0.8174 MB / 334 MB, free: 11.69 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.979e-05/0.2548, allocations: 8.938 kB / 334 MB, free: 11.69 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.255, allocations: 69.88 kB / 334.1 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.2555, allocations: 365.8 kB / 334.4 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.2556, allocations: 42.05 kB / 334.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-05/0.2557, allocations: 49 kB / 334.5 MB, free: 11.28 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.2566, allocations: 0.5417 MB / 335.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2566, allocations: 0 / 335.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.2567, allocations: 20 kB / 335.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.2567, allocations: 16 kB / 335.1 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007968/0.2575, allocations: 459.7 kB / 335.5 MB, free: 10.26 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.2602, allocations: 2.065 MB / 337.6 MB, free: 8.113 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.261, allocations: 0.6416 MB / 338.2 MB, free: 7.441 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.2611, allocations: 8.562 kB / 338.3 MB, free: 7.434 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.2611, allocations: 43.11 kB / 338.3 MB, free: 7.383 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 1.983e-06/0.2611, allocations: 0 / 338.3 MB, free: 7.383 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.004336/0.2655, allocations: 2.049 MB / 340.3 MB, free: 5.211 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.2655, allocations: 59.97 kB / 340.4 MB, free: 5.141 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003699/0.2659, allocations: 361.6 kB / 340.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.2659, allocations: 37.7 kB / 340.8 MB, free: 4.734 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.2661, allocations: 229.1 kB / 341 MB, free: 4.508 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.2662, allocations: 205 kB / 341.2 MB, free: 4.305 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.2663, allocations: 15.94 kB / 341.2 MB, free: 4.289 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2664, allocations: 362.7 kB / 341.6 MB, free: 3.926 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.2667, allocations: 169 kB / 341.8 MB, free: 3.762 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.2671, allocations: 215.8 kB / 342 MB, free: 3.547 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.2674, allocations: 186.1 kB / 342.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2674, allocations: 0 / 342.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00111/0.2685, allocations: 0.6696 MB / 342.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2685, allocations: 4 kB / 342.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.2685, allocations: 0 / 342.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006986/0.2693, allocations: 267.2 kB / 343.1 MB, free: 2.398 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002982/0.2696, allocations: 63.91 kB / 343.1 MB, free: 2.336 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005798/0.2754, allocations: 6.825 MB / 350 MB, free: 10.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003104/0.2757, allocations: 24.02 kB / 350 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.2757, allocations: 12 kB / 350 MB, free: 10.93 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.0002425/0.276, allocations: 178 kB / 350.2 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.2761, allocations: 55.38 kB / 350.2 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.2762, allocations: 64.95 kB / 350.3 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.2762, allocations: 11.95 kB / 350.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.2762, allocations: 0 / 350.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2762, allocations: 3.984 kB / 350.3 MB, free: 10.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.2782, allocations: 1.349 MB / 351.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2782, allocations: 0 / 351.7 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.2785, allocations: 63.89 kB / 351.7 MB, free: 9.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006075/0.2791, allocations: 255.2 kB / 352 MB, free: 8.875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.2792, allocations: 12 kB / 352 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005761/0.2849, allocations: 6.841 MB / 358.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.285, allocations: 0 / 358.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.2866, allocations: 1.048 MB / 359.9 MB, free: 416 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002146/0.2868, allocations: 152.5 kB / 360 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.2869, allocations: 16.05 kB / 360 MB, free: 228 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.2872, allocations: 27.92 kB / 360.1 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.2873, allocations: 52.48 kB / 360.1 MB, free: 148 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.2874, allocations: 12 kB / 360.1 MB, free: 136 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002735/0.2876, allocations: 259.2 kB / 360.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2877, allocations: 0 / 360.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008867/0.2885, allocations: 172 kB / 360.5 MB, free: 15.71 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.0001598/0.2887, allocations: 115.2 kB / 360.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.2903, allocations: 1.041 MB / 361.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2903, allocations: 3.938 kB / 361.7 MB, free: 14.49 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000975/0.2913, allocations: 0.8415 MB / 362.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.2917, allocations: 77.41 kB / 362.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.2939, allocations: 1.518 MB / 364.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.2943, allocations: 0.887 MB / 365 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.2945, allocations: 48.55 kB / 365.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.2945, allocations: 39.36 kB / 365.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2945, allocations: 0 / 365.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of Templates: time 0.01241/0.307, allocations: 7.835 MB / 372.9 MB, free: 3.145 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: