Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.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.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6763/0.6763, allocations: 110.9 MB / 125.9 MB, free: 6.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001564/0.001564, allocations: 142.7 kB / 151.8 MB, free: 5.004 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002594/0.0002595, allocations: 4 kB / 184.9 MB, free: 3.938 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1382, allocations: 25.16 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04378/0.1821, allocations: 35.55 MB / 245.6 MB, free: 14.28 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.1823, allocations: 63.97 kB / 245.7 MB, free: 14.22 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.1952, allocations: 4.898 MB / 250.6 MB, free: 9.332 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1953, allocations: 0 / 250.6 MB, free: 9.332 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.1953, allocations: 8 kB / 250.6 MB, free: 9.324 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009044/0.1962, allocations: 0.5923 MB / 251.2 MB, free: 8.684 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1962, allocations: 8.031 kB / 251.2 MB, free: 8.676 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.13e-05/0.1963, allocations: 43.31 kB / 251.2 MB, free: 8.637 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.1967, allocations: 271.7 kB / 251.5 MB, free: 8.332 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.1967, allocations: 20.56 kB / 251.5 MB, free: 8.312 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.1968, allocations: 24 kB / 251.5 MB, free: 8.289 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005453/0.1973, allocations: 260.9 kB / 251.8 MB, free: 8.027 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1974, allocations: 0 / 251.8 MB, free: 8.027 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.1974, allocations: 13.88 kB / 251.8 MB, free: 8.016 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1974, allocations: 11.95 kB / 251.8 MB, free: 8.004 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.1979, allocations: 226.1 kB / 252 MB, free: 7.781 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.1996, allocations: 0.9915 MB / 253 MB, free: 6.719 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.2002, allocations: 233.4 kB / 253.2 MB, free: 6.488 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2002, allocations: 4.188 kB / 253.2 MB, free: 6.484 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.2002, allocations: 38.75 kB / 253.3 MB, free: 6.438 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 1.253e-06/0.2002, allocations: 0.6562 kB / 253.3 MB, free: 6.438 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.001342/0.2016, allocations: 0.5876 MB / 253.9 MB, free: 5.805 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.2016, allocations: 55.41 kB / 253.9 MB, free: 5.738 MB / 186.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Blocks/Sources.mo:442:9-443:26:writable] Warning: Parameter Ramp1.duration has no value, and is fixed during initialization (fixed=true), using available start value (start=2.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/Sources.mo:359:5-359:61:writable] Warning: Parameter SineVoltage1.V 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/Basic.mo:68:3-69:40:writable] Warning: Parameter R5.R 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/Basic.mo:68:3-69:40:writable] Warning: Parameter R4.R 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/Basic.mo:68:3-69:40:writable] Warning: Parameter R3.R 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/Basic.mo:68:3-69:40:writable] Warning: Parameter R2.R 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/Basic.mo:68:3-69:40:writable] Warning: Parameter R1.R has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.202, allocations: 247.5 kB / 254.2 MB, free: 5.488 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.202, allocations: 29.7 kB / 254.2 MB, free: 5.453 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.2021, allocations: 184.2 kB / 254.4 MB, free: 5.27 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.2022, allocations: 74.92 kB / 254.5 MB, free: 5.195 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/0.2022, allocations: 4 kB / 254.5 MB, free: 5.191 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2023, allocations: 334.8 kB / 254.8 MB, free: 4.855 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.2025, allocations: 84.42 kB / 254.9 MB, free: 4.77 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.2028, allocations: 111.5 kB / 255 MB, free: 4.652 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.203, allocations: 99.25 kB / 255.1 MB, free: 4.559 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.203, allocations: 0 / 255.1 MB, free: 4.559 MB / 186.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006602/0.2037, allocations: 334.8 kB / 255.4 MB, free: 4.219 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2037, allocations: 7.938 kB / 255.4 MB, free: 4.211 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2037, allocations: 0 / 255.4 MB, free: 4.211 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002705/0.204, allocations: 77.72 kB / 255.5 MB, free: 4.129 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/0.2042, allocations: 36.98 kB / 255.5 MB, free: 4.094 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.2063, allocations: 2.869 MB / 258.4 MB, free: 0.9609 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.2065, allocations: 31.73 kB / 258.4 MB, free: 0.9297 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.2066, allocations: 8 kB / 258.4 MB, free: 0.9219 MB / 186.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.2067, allocations: 145.8 kB / 258.6 MB, free: 0.7695 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.2068, allocations: 23.72 kB / 258.6 MB, free: 0.7461 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.2068, allocations: 30.17 kB / 258.6 MB, free: 0.7188 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2069, allocations: 3.953 kB / 258.6 MB, free: 0.7148 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.2069, allocations: 4 kB / 258.6 MB, free: 0.7109 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2069, allocations: 0 / 258.6 MB, free: 0.7109 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.2072, allocations: 337.3 kB / 259 MB, free: 340 kB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2072, allocations: 0 / 259 MB, free: 340 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.2074, allocations: 31.98 kB / 259 MB, free: 308 kB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.2076, allocations: 79.16 kB / 259.1 MB, free: 224 kB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.2076, allocations: 4 kB / 259.1 MB, free: 220 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.2097, allocations: 2.842 MB / 261.9 MB, free: 13.1 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2098, allocations: 0 / 261.9 MB, free: 13.1 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006186/0.2104, allocations: 396.6 kB / 262.3 MB, free: 12.69 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.2105, allocations: 124.7 kB / 262.4 MB, free: 12.55 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.2105, allocations: 4 kB / 262.4 MB, free: 12.55 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.2108, allocations: 39.92 kB / 262.5 MB, free: 12.51 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.2109, allocations: 15.97 kB / 262.5 MB, free: 12.49 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.2109, allocations: 19.98 kB / 262.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.2111, allocations: 186 kB / 262.7 MB, free: 12.3 MB / 202.7 MB Notification: Performance of sort global known variables: time 2.054e-06/0.2111, allocations: 0 / 262.7 MB, free: 12.3 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0003898/0.2115, allocations: 95.78 kB / 262.8 MB, free: 12.2 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.2116, allocations: 107.2 kB / 262.9 MB, free: 12.09 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.2123, allocations: 463.5 kB / 263.3 MB, free: 11.61 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2124, allocations: 4.125 kB / 263.3 MB, free: 11.61 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.2128, allocations: 365.1 kB / 263.7 MB, free: 11.23 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.2133, allocations: 88.02 kB / 263.8 MB, free: 11.14 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.2142, allocations: 0.595 MB / 264.4 MB, free: 10.53 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.2145, allocations: 0.7755 MB / 265.1 MB, free: 9.723 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.000127/0.2146, allocations: 22.3 kB / 265.2 MB, free: 9.699 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.2147, allocations: 19.42 kB / 265.2 MB, free: 9.68 MB / 202.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2147, allocations: 0 / 265.2 MB, free: 9.68 MB / 202.7 MB Notification: Performance of Templates: time 0.006746/0.2214, allocations: 3.533 MB / 268.7 MB, free: 6.18 MB / 202.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1)