Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.9177/0.9177, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001773/0.001773, allocations: 155.5 kB / 149.1 MB, free: 0.9883 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.243e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06588/0.06594, allocations: 25.18 MB / 205.4 MB, free: 8.441 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05547/0.1215, allocations: 35.27 MB / 240.7 MB, free: 5.109 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.1218, allocations: 63.97 kB / 240.7 MB, free: 5.047 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.136/0.2578, allocations: 5.967 MB / 246.7 MB, free: 40.24 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2578, allocations: 3.344 kB / 246.7 MB, free: 40.24 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.146e-05/0.2579, allocations: 11.5 kB / 246.7 MB, free: 40.24 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0008479/0.2587, allocations: 0.6098 MB / 247.3 MB, free: 39.8 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.2588, allocations: 10.08 kB / 247.3 MB, free: 39.8 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.781e-05/0.2589, allocations: 49.28 kB / 247.4 MB, free: 39.78 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.2592, allocations: 299.5 kB / 247.7 MB, free: 39.55 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.2593, allocations: 21.88 kB / 247.7 MB, free: 39.55 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.2593, allocations: 34.28 kB / 247.7 MB, free: 39.55 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.2599, allocations: 335.1 kB / 248 MB, free: 39.48 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.2599, allocations: 3.953 kB / 248.1 MB, free: 39.48 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.2599, allocations: 16.31 kB / 248.1 MB, free: 39.48 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.26, allocations: 8.375 kB / 248.1 MB, free: 39.48 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.2604, allocations: 232.4 kB / 248.3 MB, free: 39.47 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.2623, allocations: 1.44 MB / 249.7 MB, free: 38.7 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.2626, allocations: 205 kB / 249.9 MB, free: 38.67 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2628, allocations: 95.84 kB / 250 MB, free: 38.66 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2628, allocations: 7.672 kB / 250 MB, free: 38.66 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.2628, allocations: 36.62 kB / 250.1 MB, free: 38.62 MB / 186.7 MB Notification: Performance of pre-optimization done (n=24): time 2.054e-06/0.2629, allocations: 4 kB / 250.1 MB, free: 38.62 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.000514/0.2634, allocations: 265.5 kB / 250.3 MB, free: 38.54 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.2634, allocations: 54.45 kB / 250.4 MB, free: 38.48 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage3.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage2.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter SineVoltage1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Ideal.mo:1014:11-1015:34:writable] Warning: Parameter With_Ron_Goff.Vknee has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Analog/Ideal.mo:1014:11-1015:34:writable] Warning: Parameter Ideal.Vknee has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.2638, allocations: 284.3 kB / 250.7 MB, free: 38.34 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.2638, allocations: 31.5 kB / 250.7 MB, free: 38.3 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.2639, allocations: 214 kB / 250.9 MB, free: 38.12 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.798e-05/0.264, allocations: 76.31 kB / 251 MB, free: 38.07 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.264, allocations: 5.031 kB / 251 MB, free: 38.06 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.656e-05/0.2641, allocations: 343.4 kB / 251.3 MB, free: 37.73 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2642, allocations: 65.75 kB / 251.4 MB, free: 37.71 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.2643, allocations: 105.8 kB / 251.5 MB, free: 37.64 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2645, allocations: 73.86 kB / 251.6 MB, free: 37.61 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2645, allocations: 0 / 251.6 MB, free: 37.61 MB / 186.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005958/0.2651, allocations: 330 kB / 251.9 MB, free: 37.44 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2651, allocations: 8.391 kB / 251.9 MB, free: 37.44 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2651, allocations: 1.375 kB / 251.9 MB, free: 37.44 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.2655, allocations: 118.7 kB / 252 MB, free: 37.39 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.2657, allocations: 36.08 kB / 252.1 MB, free: 37.38 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.2684, allocations: 4.436 MB / 256.5 MB, free: 33.05 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.2687, allocations: 28.84 kB / 256.5 MB, free: 33.04 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.2687, allocations: 9.406 kB / 256.5 MB, free: 33.04 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/0.2688, allocations: 121.1 kB / 256.6 MB, free: 32.91 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.979e-05/0.2689, allocations: 31.59 kB / 256.7 MB, free: 32.9 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.258e-05/0.269, allocations: 44.89 kB / 256.7 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.269, allocations: 7.625 kB / 256.7 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.269, allocations: 0 / 256.7 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.269, allocations: 3.141 kB / 256.7 MB, free: 32.86 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/0.2694, allocations: 380.8 kB / 257.1 MB, free: 32.59 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2695, allocations: 5.266 kB / 257.1 MB, free: 32.58 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.2696, allocations: 26.36 kB / 257.1 MB, free: 32.58 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003488/0.2699, allocations: 112.2 kB / 257.2 MB, free: 32.53 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.27, allocations: 8.922 kB / 257.2 MB, free: 32.53 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.2727, allocations: 4.426 MB / 261.7 MB, free: 28.21 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2727, allocations: 2.156 kB / 261.7 MB, free: 28.21 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004521/0.2732, allocations: 370.9 kB / 262 MB, free: 27.96 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.2733, allocations: 140.3 kB / 262.2 MB, free: 27.83 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.2734, allocations: 5.25 kB / 262.2 MB, free: 27.82 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.2736, allocations: 30.66 kB / 262.2 MB, free: 27.82 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.279e-05/0.2737, allocations: 23.83 kB / 262.2 MB, free: 27.81 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.2737, allocations: 7.953 kB / 262.2 MB, free: 27.81 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002205/0.2739, allocations: 221.2 kB / 262.5 MB, free: 27.69 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2739, allocations: 0 / 262.5 MB, free: 27.69 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006602/0.2746, allocations: 107.3 kB / 262.6 MB, free: 27.67 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (Ideal.off,With_Ron_Goff.off,With_Ron_Goff_Vknee.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001498/0.2748, allocations: 105.5 kB / 262.7 MB, free: 27.58 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007169/0.2755, allocations: 0.5332 MB / 263.2 MB, free: 27.16 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2755, allocations: 1.125 kB / 263.2 MB, free: 27.16 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003394/0.2759, allocations: 469.1 kB / 263.7 MB, free: 26.76 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.2763, allocations: 89.02 kB / 263.7 MB, free: 26.73 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.2771, allocations: 392.3 kB / 264.1 MB, free: 26.52 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.2773, allocations: 0.8056 MB / 264.9 MB, free: 25.82 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.2774, allocations: 25.91 kB / 265 MB, free: 25.81 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.522e-05/0.2775, allocations: 18.34 kB / 265 MB, free: 25.8 MB / 186.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2775, allocations: 0 / 265 MB, free: 25.8 MB / 186.7 MB Notification: Performance of Templates: time 0.007999/0.2855, allocations: 4.947 MB / 269.9 MB, free: 23.45 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CharacteristicIdealDiodes.pipe 2>&1)