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.7607/0.7607, allocations: 110.8 MB / 123.3 MB, free: 10.74 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001741/0.001741, allocations: 143.4 kB / 149.1 MB, free: 0.9531 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.569e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05068/0.05072, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05524/0.106, allocations: 35.46 MB / 240.8 MB, free: 4.914 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.1062, allocations: 63.97 kB / 240.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1498/0.2561, allocations: 4.914 MB / 245.8 MB, free: 40.77 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.2561, allocations: 0 / 245.8 MB, free: 40.77 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.695e-05/0.2562, allocations: 7.75 kB / 245.8 MB, free: 40.77 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.0009729/0.2571, allocations: 0.5591 MB / 246.4 MB, free: 40.4 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.2572, allocations: 9.625 kB / 246.4 MB, free: 40.4 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.2573, allocations: 39.22 kB / 246.4 MB, free: 40.39 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.2577, allocations: 262.3 kB / 246.7 MB, free: 40.17 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.2577, allocations: 19.47 kB / 246.7 MB, free: 40.17 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.2577, allocations: 26.38 kB / 246.7 MB, free: 40.17 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.2582, allocations: 232.3 kB / 247 MB, free: 40.13 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2583, allocations: 0 / 247 MB, free: 40.13 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.166e-05/0.2583, allocations: 12.72 kB / 247 MB, free: 40.13 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.2583, allocations: 9.453 kB / 247 MB, free: 40.12 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003469/0.2587, allocations: 179 kB / 247.2 MB, free: 40.12 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.2606, allocations: 0.9899 MB / 248.1 MB, free: 39.71 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.261, allocations: 197.7 kB / 248.3 MB, free: 39.69 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.2612, allocations: 114.6 kB / 248.5 MB, free: 39.68 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.2613, allocations: 1.953 kB / 248.5 MB, free: 39.68 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.2613, allocations: 40.38 kB / 248.5 MB, free: 39.64 MB / 186.7 MB Notification: Performance of pre-optimization done (n=21): time 1.974e-06/0.2613, allocations: 0.5625 kB / 248.5 MB, free: 39.64 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005898/0.2619, allocations: 245.7 kB / 248.7 MB, free: 39.57 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.2619, allocations: 56.75 kB / 248.8 MB, free: 39.5 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.0003429/0.2623, allocations: 248.3 kB / 249 MB, free: 39.4 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.2623, allocations: 31.55 kB / 249.1 MB, free: 39.37 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2624, allocations: 181.1 kB / 249.2 MB, free: 39.24 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.2625, allocations: 69.62 kB / 249.3 MB, free: 39.2 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.968e-06/0.2625, allocations: 4.469 kB / 249.3 MB, free: 39.2 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.2626, allocations: 334.7 kB / 249.6 MB, free: 38.89 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.2627, allocations: 61.75 kB / 249.7 MB, free: 38.86 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.2628, allocations: 86.83 kB / 249.8 MB, free: 38.81 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.263, allocations: 69.06 kB / 249.9 MB, free: 38.78 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.263, allocations: 2.438 kB / 249.9 MB, free: 38.78 MB / 186.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004763/0.2635, allocations: 283.3 kB / 250.1 MB, free: 38.64 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.2635, allocations: 8.594 kB / 250.1 MB, free: 38.64 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.2635, allocations: 0.625 kB / 250.1 MB, free: 38.64 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002963/0.2638, allocations: 74.05 kB / 250.2 MB, free: 38.61 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.264, allocations: 50.08 kB / 250.3 MB, free: 38.6 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/0.2658, allocations: 2.823 MB / 253.1 MB, free: 35.86 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.2661, allocations: 32.62 kB / 253.1 MB, free: 35.84 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2661, allocations: 13.12 kB / 253.1 MB, free: 35.84 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 7.476e-05/0.2662, allocations: 117.4 kB / 253.2 MB, free: 35.72 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.036e-05/0.2662, allocations: 24.84 kB / 253.3 MB, free: 35.71 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.2663, allocations: 37.98 kB / 253.3 MB, free: 35.69 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2663, allocations: 4.188 kB / 253.3 MB, free: 35.69 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.2663, allocations: 3.312 kB / 253.3 MB, free: 35.69 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2663, allocations: 3.578 kB / 253.3 MB, free: 35.69 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/0.2671, allocations: 0.6413 MB / 254 MB, free: 35.23 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2671, allocations: 4.219 kB / 254 MB, free: 35.23 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.2673, allocations: 36.44 kB / 254 MB, free: 35.23 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/0.2675, allocations: 68.44 kB / 254.1 MB, free: 35.2 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2675, allocations: 5.375 kB / 254.1 MB, free: 35.2 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.2692, allocations: 2.82 MB / 256.9 MB, free: 32.45 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2692, allocations: 0 / 256.9 MB, free: 32.45 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.2696, allocations: 345.3 kB / 257.2 MB, free: 32.22 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.2697, allocations: 124.2 kB / 257.3 MB, free: 32.1 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.2698, allocations: 9.875 kB / 257.4 MB, free: 32.09 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.2701, allocations: 32.42 kB / 257.4 MB, free: 32.09 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.2701, allocations: 20.52 kB / 257.4 MB, free: 32.09 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.2702, allocations: 9.219 kB / 257.4 MB, free: 32.08 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002081/0.2704, allocations: 187.5 kB / 257.6 MB, free: 31.97 MB / 186.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2704, allocations: 0 / 257.6 MB, free: 31.97 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004239/0.2708, allocations: 92.34 kB / 257.7 MB, free: 31.95 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.0001284/0.2709, allocations: 102.6 kB / 257.8 MB, free: 31.86 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0005448/0.2715, allocations: 410.2 kB / 258.2 MB, free: 31.57 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2715, allocations: 1.312 kB / 258.2 MB, free: 31.57 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.2719, allocations: 329.1 kB / 258.5 MB, free: 31.3 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005493/0.2724, allocations: 82.83 kB / 258.6 MB, free: 31.28 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/0.2731, allocations: 333.8 kB / 258.9 MB, free: 31.09 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.2734, allocations: 0.7796 MB / 259.7 MB, free: 30.38 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.2735, allocations: 21.52 kB / 259.7 MB, free: 30.38 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.2736, allocations: 22.11 kB / 259.7 MB, free: 30.37 MB / 186.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2736, allocations: 0 / 259.7 MB, free: 30.37 MB / 186.7 MB Notification: Performance of Templates: time 0.00643/0.28, allocations: 3.532 MB / 263.3 MB, free: 29.81 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)