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.7732/0.7732, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001752/0.001752, allocations: 163.4 kB / 144 MB, free: 4.785 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.447e-05, allocations: 4 kB / 173.8 MB, free: 22.79 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07071/0.07076, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06665/0.1375, allocations: 34.8 MB / 233.8 MB, free: 10.84 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.1378, allocations: 63.97 kB / 233.9 MB, free: 10.78 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01317/0.151, allocations: 4.854 MB / 238.7 MB, free: 5.906 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.151, allocations: 0 / 238.7 MB, free: 5.906 MB / 186.7 MB Notification: Performance of Transformations before backend: time 3.207e-05/0.1511, allocations: 8 kB / 238.7 MB, free: 5.898 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.0009303/0.152, allocations: 0.5645 MB / 239.3 MB, free: 5.289 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.152, allocations: 12.03 kB / 239.3 MB, free: 5.277 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1522, allocations: 35.62 kB / 239.4 MB, free: 5.242 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.1526, allocations: 270.6 kB / 239.6 MB, free: 4.938 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1526, allocations: 8 kB / 239.6 MB, free: 4.93 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.1526, allocations: 16 kB / 239.6 MB, free: 4.914 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003131/0.1529, allocations: 157.1 kB / 239.8 MB, free: 4.762 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.1533, allocations: 191.8 kB / 240 MB, free: 4.57 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1533, allocations: 0 / 240 MB, free: 4.57 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.1534, allocations: 3.953 kB / 240 MB, free: 4.566 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1534, allocations: 4 kB / 240 MB, free: 4.562 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1551, allocations: 0.9285 MB / 240.9 MB, free: 3.57 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.1555, allocations: 195.1 kB / 241.1 MB, free: 3.371 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.1557, allocations: 97.22 kB / 241.2 MB, free: 3.273 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.1557, allocations: 8.172 kB / 241.2 MB, free: 3.266 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.1557, allocations: 46.69 kB / 241.3 MB, free: 3.211 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.1557, allocations: 0 / 241.3 MB, free: 3.211 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005496/0.1563, allocations: 222.8 kB / 241.5 MB, free: 2.984 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1564, allocations: 55.41 kB / 241.5 MB, free: 2.918 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.0003642/0.1567, allocations: 224.3 kB / 241.8 MB, free: 2.688 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.1568, allocations: 29.69 kB / 241.8 MB, free: 2.652 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.1569, allocations: 183.9 kB / 242 MB, free: 2.469 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.157, allocations: 63.02 kB / 242 MB, free: 2.406 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.157, allocations: 0 / 242 MB, free: 2.406 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1571, allocations: 330.8 kB / 242.3 MB, free: 2.074 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.1572, allocations: 56.47 kB / 242.4 MB, free: 2.016 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.1573, allocations: 87.27 kB / 242.5 MB, free: 1.922 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1574, allocations: 59.97 kB / 242.5 MB, free: 1.863 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1574, allocations: 7.938 kB / 242.6 MB, free: 1.855 MB / 186.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003957/0.1578, allocations: 250.9 kB / 242.8 MB, free: 1.598 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.1579, allocations: 11.28 kB / 242.8 MB, free: 1.59 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1579, allocations: 0 / 242.8 MB, free: 1.59 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002818/0.1582, allocations: 73.67 kB / 242.9 MB, free: 1.512 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.1584, allocations: 43.91 kB / 242.9 MB, free: 1.469 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1179/0.2763, allocations: 2.712 MB / 245.6 MB, free: 40.67 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.2766, allocations: 25.28 kB / 245.7 MB, free: 40.67 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.2767, allocations: 12.47 kB / 245.7 MB, free: 40.67 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 () * 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 9.875e-05/0.2768, allocations: 104.5 kB / 245.8 MB, free: 40.56 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.2768, allocations: 24.06 kB / 245.8 MB, free: 40.56 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/0.2769, allocations: 24.36 kB / 245.8 MB, free: 40.56 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2769, allocations: 8.5 kB / 245.8 MB, free: 40.56 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.2769, allocations: 1.984 kB / 245.8 MB, free: 40.56 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2769, allocations: 1.172 kB / 245.8 MB, free: 40.56 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008104/0.2778, allocations: 0.583 MB / 246.4 MB, free: 40.28 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2778, allocations: 2.078 kB / 246.4 MB, free: 40.28 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.2779, allocations: 31.22 kB / 246.4 MB, free: 40.28 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002037/0.2781, allocations: 78.38 kB / 246.5 MB, free: 40.27 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2782, allocations: 0.9844 kB / 246.5 MB, free: 40.27 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.2797, allocations: 2.703 MB / 249.2 MB, free: 37.88 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2797, allocations: 1.094 kB / 249.2 MB, free: 37.88 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003752/0.2801, allocations: 328.4 kB / 249.6 MB, free: 37.71 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-05/0.2801, allocations: 117.2 kB / 249.7 MB, free: 37.6 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.2802, allocations: 3.75 kB / 249.7 MB, free: 37.6 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.2804, allocations: 35.2 kB / 249.7 MB, free: 37.6 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.2805, allocations: 22.11 kB / 249.7 MB, free: 37.6 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.2805, allocations: 4.625 kB / 249.7 MB, free: 37.6 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001241/0.2807, allocations: 164.7 kB / 249.9 MB, free: 37.52 MB / 186.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.2807, allocations: 0 / 249.9 MB, free: 37.52 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003771/0.2811, allocations: 89.86 kB / 250 MB, free: 37.52 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: 0 () * Number of discrete 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.0001192/0.2812, allocations: 100.9 kB / 250.1 MB, free: 37.43 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005287/0.2817, allocations: 382 kB / 250.4 MB, free: 37.23 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2817, allocations: 0 / 250.4 MB, free: 37.23 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.282, allocations: 315.4 kB / 250.8 MB, free: 37.02 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.2825, allocations: 55.28 kB / 250.8 MB, free: 37.02 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005445/0.283, allocations: 304.5 kB / 251.1 MB, free: 36.88 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.2832, allocations: 0.7721 MB / 251.9 MB, free: 36.18 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.2834, allocations: 22.52 kB / 251.9 MB, free: 36.18 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.2834, allocations: 17.16 kB / 251.9 MB, free: 36.17 MB / 186.7 MB Notification: Performance of SimCode: time 8.91e-07/0.2834, allocations: 0 / 251.9 MB, free: 36.17 MB / 186.7 MB Notification: Performance of Templates: time 0.006303/0.2897, allocations: 2.969 MB / 254.9 MB, free: 36.02 MB / 186.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)