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.6679/0.6679, allocations: 110.9 MB / 125.9 MB, free: 6.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001643/0.001643, allocations: 150.6 kB / 151.9 MB, free: 4.977 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000259/0.0002591, allocations: 8 kB / 184.9 MB, free: 3.914 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1402, allocations: 25.15 MB / 210 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04459/0.1849, allocations: 35.39 MB / 245.4 MB, free: 14.45 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.1852, allocations: 63.97 kB / 245.5 MB, free: 14.38 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01551/0.2007, allocations: 5.941 MB / 251.4 MB, free: 8.445 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2007, allocations: 0 / 251.4 MB, free: 8.445 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.2007, allocations: 8 kB / 251.4 MB, free: 8.438 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.001013/0.2018, allocations: 0.666 MB / 252.1 MB, free: 7.723 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2018, allocations: 12.03 kB / 252.1 MB, free: 7.711 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.752e-05/0.2019, allocations: 47.44 kB / 252.2 MB, free: 7.664 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.2023, allocations: 302.5 kB / 252.5 MB, free: 7.328 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.2024, allocations: 24.66 kB / 252.5 MB, free: 7.305 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.2024, allocations: 34.77 kB / 252.5 MB, free: 7.273 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.203, allocations: 358.8 kB / 252.9 MB, free: 6.906 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.2031, allocations: 3.984 kB / 252.9 MB, free: 6.902 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.887e-05/0.2031, allocations: 16 kB / 252.9 MB, free: 6.887 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.2031, allocations: 11.94 kB / 252.9 MB, free: 6.875 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.2037, allocations: 278.5 kB / 253.2 MB, free: 6.602 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.2057, allocations: 1.427 MB / 254.6 MB, free: 5.074 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.2061, allocations: 231.2 kB / 254.8 MB, free: 4.84 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.2062, allocations: 4 kB / 254.8 MB, free: 4.836 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2062, allocations: 34.56 kB / 254.9 MB, free: 4.793 MB / 186.7 MB Notification: Performance of pre-optimization done (n=24): time 2.014e-06/0.2062, allocations: 3.938 kB / 254.9 MB, free: 4.789 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.001448/0.2077, allocations: 0.7177 MB / 255.6 MB, free: 4 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2077, allocations: 59.41 kB / 255.6 MB, free: 3.93 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.0003855/0.2081, allocations: 277.6 kB / 255.9 MB, free: 3.656 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.2082, allocations: 29.7 kB / 255.9 MB, free: 3.621 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.2083, allocations: 212.1 kB / 256.2 MB, free: 3.41 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/0.2084, allocations: 74.91 kB / 256.2 MB, free: 3.336 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/0.2084, allocations: 8 kB / 256.2 MB, free: 3.328 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.2085, allocations: 344.4 kB / 256.6 MB, free: 2.984 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.2087, allocations: 87.95 kB / 256.7 MB, free: 2.898 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.209, allocations: 125 kB / 256.8 MB, free: 2.762 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.2092, allocations: 89.7 kB / 256.9 MB, free: 2.676 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2092, allocations: 0 / 256.9 MB, free: 2.676 MB / 186.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000737/0.2099, allocations: 377.1 kB / 257.2 MB, free: 2.293 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.2099, allocations: 4 kB / 257.2 MB, free: 2.289 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.21, allocations: 4 kB / 257.2 MB, free: 2.285 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/0.2104, allocations: 114.6 kB / 257.4 MB, free: 2.164 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.2106, allocations: 41.47 kB / 257.4 MB, free: 2.125 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003777/0.2144, allocations: 4.475 MB / 261.9 MB, free: 13.24 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.2146, allocations: 32.14 kB / 261.9 MB, free: 13.21 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.2146, allocations: 8 kB / 261.9 MB, free: 13.2 MB / 202.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 () * Number of clocked 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 0.0002038/0.2149, allocations: 149 kB / 262.1 MB, free: 13.05 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.2149, allocations: 35.62 kB / 262.1 MB, free: 13.02 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.215, allocations: 43.22 kB / 262.1 MB, free: 12.97 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.215, allocations: 7.938 kB / 262.1 MB, free: 12.96 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.215, allocations: 0 / 262.1 MB, free: 12.96 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.215, allocations: 3.984 kB / 262.1 MB, free: 12.96 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.2154, allocations: 377.2 kB / 262.5 MB, free: 12.54 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2155, allocations: 7.922 kB / 262.5 MB, free: 12.54 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.2156, allocations: 23.98 kB / 262.5 MB, free: 12.51 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/0.2159, allocations: 114.5 kB / 262.7 MB, free: 12.39 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.2159, allocations: 8 kB / 262.7 MB, free: 12.38 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.2193, allocations: 4.47 MB / 267.1 MB, free: 7.516 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2194, allocations: 3.984 kB / 267.1 MB, free: 7.512 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.2199, allocations: 414.9 kB / 267.5 MB, free: 7.082 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.2201, allocations: 132.6 kB / 267.7 MB, free: 6.934 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.2201, allocations: 11.94 kB / 267.7 MB, free: 6.922 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.2204, allocations: 19.98 kB / 267.7 MB, free: 6.902 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.504e-05/0.2205, allocations: 27.95 kB / 267.7 MB, free: 6.875 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.2205, allocations: 8 kB / 267.7 MB, free: 6.867 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002144/0.2207, allocations: 219.1 kB / 268 MB, free: 6.652 MB / 202.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2207, allocations: 0 / 268 MB, free: 6.652 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0007041/0.2214, allocations: 119.7 kB / 268.1 MB, free: 6.535 MB / 202.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 () * Number of clocked 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.0001419/0.2216, allocations: 103.2 kB / 268.2 MB, free: 6.422 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0008688/0.2224, allocations: 0.5755 MB / 268.7 MB, free: 5.809 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2225, allocations: 4.125 kB / 268.7 MB, free: 5.805 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.2229, allocations: 491.6 kB / 269.2 MB, free: 5.285 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.2234, allocations: 91.03 kB / 269.3 MB, free: 5.199 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2246, allocations: 0.7468 MB / 270.1 MB, free: 4.43 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.225, allocations: 0.8037 MB / 270.9 MB, free: 3.598 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.2251, allocations: 27.16 kB / 270.9 MB, free: 3.566 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.32e-05/0.2252, allocations: 23.42 kB / 270.9 MB, free: 3.543 MB / 202.7 MB Notification: Performance of SimCode: time 3.5e-07/0.2252, allocations: 4 kB / 270.9 MB, free: 3.539 MB / 202.7 MB Notification: Performance of Templates: time 0.008803/0.234, allocations: 4.924 MB / 275.8 MB, free: 14.66 MB / 218.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)