Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001076/0.001076, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.319/1.319, allocations: 170.6 MB / 178.7 MB, free: 15.64 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00165/0.00165, allocations: 107.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.747e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.0807, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2929/0.3737, allocations: 67.32 MB / 368.3 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.3739, allocations: 67.97 kB / 368.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01272/0.3866, allocations: 4.966 MB / 373.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3867, allocations: 0 / 373.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.3867, allocations: 12 kB / 373.3 MB, free: 12.8 MB / 266.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.0009013/0.3876, allocations: 0.5601 MB / 373.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3877, allocations: 12.03 kB / 373.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.3878, allocations: 34.81 kB / 373.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.3882, allocations: 271.6 kB / 374.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3882, allocations: 8 kB / 374.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.3882, allocations: 16 kB / 374.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003049/0.3885, allocations: 163.4 kB / 374.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.3889, allocations: 192 kB / 374.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3889, allocations: 4 kB / 374.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.3889, allocations: 0.5625 kB / 374.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.389, allocations: 5.75 kB / 374.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.3906, allocations: 0.9301 MB / 375.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.3909, allocations: 197.6 kB / 375.7 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.3911, allocations: 104.6 kB / 375.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3912, allocations: 192 / 375.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.3912, allocations: 38.56 kB / 375.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.3912, allocations: 0 / 375.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004752/0.3917, allocations: 223.7 kB / 376.1 MB, free: 10.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3918, allocations: 55.41 kB / 376.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.392, allocations: 207.1 kB / 376.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.392, allocations: 25.7 kB / 376.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3921, allocations: 186.5 kB / 376.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.228e-05/0.3922, allocations: 67.62 kB / 376.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.3922, allocations: 0 / 376.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3924, allocations: 332.9 kB / 376.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.384e-05/0.3925, allocations: 58.78 kB / 377 MB, free: 9.504 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3926, allocations: 84.84 kB / 377.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.3927, allocations: 61.03 kB / 377.1 MB, free: 9.402 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3927, allocations: 0 / 377.1 MB, free: 9.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004092/0.3931, allocations: 259.7 kB / 377.4 MB, free: 9.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3931, allocations: 11.91 kB / 377.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3932, allocations: 7.938 kB / 377.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002632/0.3934, allocations: 67.06 kB / 377.5 MB, free: 9.113 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.3936, allocations: 51.72 kB / 377.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.3958, allocations: 2.711 MB / 380.2 MB, free: 6.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.396, allocations: 31.86 kB / 380.3 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3961, allocations: 4 kB / 380.3 MB, free: 6.273 MB / 266.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 0.0001005/0.3962, allocations: 102.5 kB / 380.4 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.788e-05/0.3962, allocations: 27.44 kB / 380.4 MB, free: 6.145 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.3963, allocations: 25.2 kB / 380.4 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3963, allocations: 7.953 kB / 380.4 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.3963, allocations: 4 kB / 380.4 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/0.3963, allocations: 3.984 kB / 380.4 MB, free: 6.121 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.3971, allocations: 0.5801 MB / 381 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.3971, allocations: 0 / 381 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.3973, allocations: 31.98 kB / 381 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001769/0.3975, allocations: 71.98 kB / 381.1 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3975, allocations: 11.95 kB / 381.1 MB, free: 5.488 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.3995, allocations: 2.706 MB / 383.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3995, allocations: 2.078 kB / 383.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.4, allocations: 322.6 kB / 384.1 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4001, allocations: 116.2 kB / 384.3 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.4001, allocations: 0 / 384.3 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.4004, allocations: 39.92 kB / 384.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.4004, allocations: 23.28 kB / 384.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.4005, allocations: 11.56 kB / 384.3 MB, free: 2.254 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.4006, allocations: 165.1 kB / 384.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4006, allocations: 0 / 384.5 MB, free: 2.117 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003842/0.401, allocations: 87.75 kB / 384.6 MB, free: 2.031 MB / 266.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.0001396/0.4012, allocations: 96.38 kB / 384.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005084/0.4017, allocations: 384.5 kB / 385 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4017, allocations: 3.938 kB / 385.1 MB, free: 1.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.402, allocations: 308.2 kB / 385.4 MB, free: 1.301 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.4023, allocations: 34.48 kB / 385.4 MB, free: 1.277 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005686/0.4029, allocations: 294.7 kB / 385.7 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4032, allocations: 0.7755 MB / 386.5 MB, free: 200 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.4033, allocations: 22.06 kB / 386.5 MB, free: 176 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.4034, allocations: 19.44 kB / 386.5 MB, free: 156 kB / 266.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4034, allocations: 3.938 kB / 386.5 MB, free: 152 kB / 266.7 MB Notification: Performance of Templates: time 0.005821/0.4092, allocations: 2.798 MB / 389.3 MB, free: 13.36 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1)