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.8039/0.8039, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001786/0.001786, allocations: 155.5 kB / 144 MB, free: 4.793 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.552e-05/1.546e-05, allocations: 4 kB / 173.9 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04256/0.04259, allocations: 25.17 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05093/0.09357, allocations: 34.62 MB / 233.6 MB, free: 11.03 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.0938, allocations: 63.97 kB / 233.7 MB, free: 10.96 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.11, allocations: 5.892 MB / 239.6 MB, free: 5.039 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1101, allocations: 0 / 239.6 MB, free: 5.039 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.039e-05/0.1101, allocations: 11.98 kB / 239.6 MB, free: 5.027 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.00123/0.1114, allocations: 0.6152 MB / 240.2 MB, free: 4.367 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.1114, allocations: 16.03 kB / 240.2 MB, free: 4.352 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.1116, allocations: 43.44 kB / 240.3 MB, free: 4.309 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.1122, allocations: 298.6 kB / 240.6 MB, free: 3.98 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.1122, allocations: 12 kB / 240.6 MB, free: 3.969 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-05/0.1123, allocations: 19.95 kB / 240.6 MB, free: 3.949 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004585/0.1127, allocations: 217.5 kB / 240.8 MB, free: 3.738 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005318/0.1133, allocations: 283.2 kB / 241.1 MB, free: 3.441 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1133, allocations: 7.938 kB / 241.1 MB, free: 3.434 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.1133, allocations: 0 / 241.1 MB, free: 3.434 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1133, allocations: 8 kB / 241.1 MB, free: 3.426 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.1155, allocations: 1.364 MB / 242.5 MB, free: 1.973 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.1159, allocations: 202.5 kB / 242.7 MB, free: 1.766 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.1161, allocations: 81.27 kB / 242.8 MB, free: 1.684 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1161, allocations: 8 kB / 242.8 MB, free: 1.676 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1161, allocations: 38.42 kB / 242.8 MB, free: 1.629 MB / 186.7 MB Notification: Performance of pre-optimization done (n=24): time 1.342e-06/0.1162, allocations: 0 / 242.8 MB, free: 1.629 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005308/0.1167, allocations: 240.6 kB / 243 MB, free: 1.379 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1167, allocations: 59.27 kB / 243.1 MB, free: 1.309 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.0003508/0.1171, allocations: 257 kB / 243.3 MB, free: 1.055 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1171, allocations: 25.7 kB / 243.4 MB, free: 1.023 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1173, allocations: 216.4 kB / 243.6 MB, free: 0.8047 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.1174, allocations: 70.92 kB / 243.6 MB, free: 0.7344 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.1174, allocations: 0 / 243.6 MB, free: 0.7344 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1175, allocations: 338.8 kB / 244 MB, free: 404 kB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.1176, allocations: 67.98 kB / 244 MB, free: 336 kB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1178, allocations: 92.8 kB / 244.1 MB, free: 228 kB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.1179, allocations: 71.84 kB / 244.2 MB, free: 156 kB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1179, allocations: 0 / 244.2 MB, free: 156 kB / 186.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.1208/0.2388, allocations: 292.2 kB / 244.5 MB, free: 41.48 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.2388, allocations: 9.109 kB / 244.5 MB, free: 41.48 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2389, allocations: 2.641 kB / 244.5 MB, free: 41.48 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/0.2393, allocations: 113.8 kB / 244.6 MB, free: 41.45 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.2396, allocations: 35.22 kB / 244.6 MB, free: 41.45 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/0.2429, allocations: 4.267 MB / 248.9 MB, free: 37.68 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.2432, allocations: 26.17 kB / 248.9 MB, free: 37.68 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.2433, allocations: 9.781 kB / 249 MB, free: 37.68 MB / 186.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: With_Ron_Goff_Vknee.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: With_Ron_Goff.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: Ideal.s:VARIABLE(unit = "1" protected = true ) "Auxiliary variable: if on then current, if opened then voltage" type: Real 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 0.0001847/0.2434, allocations: 115.8 kB / 249.1 MB, free: 37.57 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.2436, allocations: 30.28 kB / 249.1 MB, free: 37.57 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.233e-05/0.2437, allocations: 38.08 kB / 249.1 MB, free: 37.55 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2437, allocations: 6.188 kB / 249.1 MB, free: 37.55 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.2437, allocations: 0 / 249.1 MB, free: 37.55 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2437, allocations: 5.219 kB / 249.1 MB, free: 37.55 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005188/0.2442, allocations: 316.2 kB / 249.5 MB, free: 37.39 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2442, allocations: 1.891 kB / 249.5 MB, free: 37.39 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.2444, allocations: 26.66 kB / 249.5 MB, free: 37.39 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003152/0.2447, allocations: 112.9 kB / 249.6 MB, free: 37.37 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.2447, allocations: 4.547 kB / 249.6 MB, free: 37.37 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.2475, allocations: 4.268 MB / 253.9 MB, free: 33.54 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.2475, allocations: 0 / 253.9 MB, free: 33.54 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.248, allocations: 347.2 kB / 254.2 MB, free: 33.37 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2482, allocations: 131.6 kB / 254.3 MB, free: 33.26 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.2482, allocations: 5.359 kB / 254.3 MB, free: 33.26 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.2485, allocations: 21.66 kB / 254.4 MB, free: 33.26 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2486, allocations: 27.19 kB / 254.4 MB, free: 33.25 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.2486, allocations: 11.5 kB / 254.4 MB, free: 33.25 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002248/0.2488, allocations: 194 kB / 254.6 MB, free: 33.17 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2489, allocations: 0 / 254.6 MB, free: 33.17 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0007545/0.2496, allocations: 104.7 kB / 254.7 MB, free: 33.16 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.0001557/0.2498, allocations: 100.6 kB / 254.8 MB, free: 33.08 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.2505, allocations: 0.5052 MB / 255.3 MB, free: 32.76 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.2505, allocations: 1.156 kB / 255.3 MB, free: 32.76 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004477/0.251, allocations: 438.8 kB / 255.7 MB, free: 32.44 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.2515, allocations: 60.92 kB / 255.8 MB, free: 32.42 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2526, allocations: 382.5 kB / 256.2 MB, free: 32.21 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.253, allocations: 0.8047 MB / 257 MB, free: 31.51 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001686/0.2531, allocations: 23.95 kB / 257 MB, free: 31.51 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.2532, allocations: 16.95 kB / 257 MB, free: 31.5 MB / 186.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2532, allocations: 0 / 257 MB, free: 31.5 MB / 186.7 MB Notification: Performance of Templates: time 0.009616/0.2628, allocations: 4.259 MB / 261.3 MB, free: 31.04 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)