Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor") translateModel(Modelica.Electrical.Analog.Examples.ShowVariableResistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001507/0.001507, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.589/1.589, allocations: 194.3 MB / 208.4 MB, free: 6.75 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00178/0.00178, allocations: 112.7 kB / 253.5 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.409e-05, allocations: 4 kB / 304.9 MB, free: 29.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07382/0.07387, allocations: 44.51 MB / 349.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3189/0.3928, allocations: 73.12 MB / 422.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.3931, allocations: 68.61 kB / 422.6 MB, free: 10.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01168/0.4048, allocations: 4.907 MB / 427.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4048, allocations: 0 / 427.5 MB, free: 9.633 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.4048, allocations: 11.81 kB / 427.6 MB, free: 9.629 MB / 298.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.0006687/0.4055, allocations: 0.5518 MB / 428.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4056, allocations: 7.781 kB / 428.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.4056, allocations: 38.62 kB / 428.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.4059, allocations: 267 kB / 428.4 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.4059, allocations: 22.91 kB / 428.4 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.4059, allocations: 23.16 kB / 428.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/0.4063, allocations: 238.9 kB / 428.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4063, allocations: 0 / 428.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.4064, allocations: 11.28 kB / 428.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4064, allocations: 3.844 kB / 428.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.4066, allocations: 176.2 kB / 428.9 MB, free: 8.836 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.408, allocations: 0.9996 MB / 429.9 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.4084, allocations: 203.8 kB / 430.1 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.4086, allocations: 100.9 kB / 430.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.4086, allocations: 4.062 kB / 430.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.4086, allocations: 38.38 kB / 430.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.343e-06/0.4086, allocations: 0 / 430.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004437/0.4091, allocations: 238.7 kB / 430.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.4091, allocations: 56.89 kB / 430.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001768/0.4093, allocations: 230.9 kB / 430.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.4093, allocations: 29.2 kB / 430.8 MB, free: 7.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.988e-05/0.4094, allocations: 182.2 kB / 430.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.4094, allocations: 79.19 kB / 431 MB, free: 7.648 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.4095, allocations: 3.812 kB / 431 MB, free: 7.648 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/0.4095, allocations: 336.8 kB / 431.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.4096, allocations: 59.34 kB / 431.4 MB, free: 7.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.4097, allocations: 91.33 kB / 431.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.4098, allocations: 77.42 kB / 431.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4099, allocations: 0 / 431.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003869/0.4103, allocations: 281.7 kB / 431.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4103, allocations: 3.969 kB / 431.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4103, allocations: 3.812 kB / 431.8 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.4105, allocations: 74.45 kB / 431.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.4107, allocations: 50 kB / 432 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.4123, allocations: 2.825 MB / 434.8 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001904/0.4125, allocations: 34.52 kB / 434.8 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.4125, allocations: 14.92 kB / 434.8 MB, free: 4.477 MB / 298.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 8.596e-05/0.4126, allocations: 116.2 kB / 435 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.4127, allocations: 23.25 kB / 435 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/0.4128, allocations: 31.17 kB / 435 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4128, allocations: 3.781 kB / 435 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4128, allocations: 0 / 435 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4128, allocations: 0 / 435 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.4135, allocations: 0.6481 MB / 435.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4135, allocations: 0 / 435.7 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.4136, allocations: 31.03 kB / 435.7 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001567/0.4138, allocations: 78.02 kB / 435.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4138, allocations: 7.875 kB / 435.8 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/0.4152, allocations: 2.826 MB / 438.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4152, allocations: 0 / 438.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.4156, allocations: 348.8 kB / 438.9 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.4156, allocations: 100.4 kB / 439 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4157, allocations: 3.984 kB / 439 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.4159, allocations: 39.05 kB / 439.1 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.498e-05/0.416, allocations: 23.17 kB / 439.1 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.416, allocations: 7.844 kB / 439.1 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.4162, allocations: 186.8 kB / 439.3 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4162, allocations: 0 / 439.3 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005925/0.4168, allocations: 100.3 kB / 439.4 MB, free: 0.8203 MB / 298.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.0001021/0.4169, allocations: 110 kB / 439.5 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000513/0.4174, allocations: 410 kB / 439.9 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4174, allocations: 4.125 kB / 439.9 MB, free: 16.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.4177, allocations: 324.5 kB / 440.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.418, allocations: 47.19 kB / 440.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/0.4185, allocations: 322.4 kB / 440.6 MB, free: 16.05 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.4188, allocations: 0.7769 MB / 441.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.4189, allocations: 17.61 kB / 441.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.4189, allocations: 18.97 kB / 441.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4189, allocations: 0 / 441.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of Templates: time 0.006193/0.4251, allocations: 3.291 MB / 444.7 MB, free: 13.66 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowVariableResistor.pipe 2>&1)