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.001242/0.001242, allocations: 170.2 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.207/1.207, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001274/0.001274, allocations: 107.5 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.509e-05/2.511e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06555/0.06559, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2462/0.3118, allocations: 67.98 MB / 375.6 MB, free: 8.195 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.3121, allocations: 66.59 kB / 375.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01308/0.3252, allocations: 5.022 MB / 380.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3252, allocations: 0 / 380.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.3252, allocations: 8 kB / 380.7 MB, free: 3.82 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.0007498/0.326, allocations: 0.5551 MB / 381.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.326, allocations: 12.03 kB / 381.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.756e-05/0.3261, allocations: 35.62 kB / 381.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.3264, allocations: 276.9 kB / 381.6 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3264, allocations: 19.67 kB / 381.6 MB, free: 2.895 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.3265, allocations: 30.12 kB / 381.6 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.3269, allocations: 242.1 kB / 381.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.3269, allocations: 4 kB / 381.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.3269, allocations: 8.625 kB / 381.9 MB, free: 2.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.327, allocations: 8 kB / 381.9 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.3273, allocations: 176.5 kB / 382.1 MB, free: 2.582 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.3289, allocations: 0.987 MB / 383 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.3293, allocations: 203.5 kB / 383.2 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.3294, allocations: 103.1 kB / 383.3 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.3295, allocations: 12.12 kB / 383.4 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.3295, allocations: 30.75 kB / 383.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 4.358e-06/0.3295, allocations: 0 / 383.4 MB, free: 1.445 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.000478/0.33, allocations: 248 kB / 383.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.33, allocations: 55.41 kB / 383.7 MB, free: 1.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.3303, allocations: 232.8 kB / 383.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.3303, allocations: 29.7 kB / 383.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.3304, allocations: 186.2 kB / 384.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.3305, allocations: 70.44 kB / 384.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.3305, allocations: 2.938 kB / 384.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.3306, allocations: 330.6 kB / 384.5 MB, free: 420 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3307, allocations: 58.91 kB / 384.6 MB, free: 380 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3308, allocations: 90.12 kB / 384.7 MB, free: 308 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.3309, allocations: 70.67 kB / 384.7 MB, free: 264 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3309, allocations: 0 / 384.7 MB, free: 264 kB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000431/0.3314, allocations: 280.2 kB / 385 MB, free: 32 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3314, allocations: 6.188 kB / 385 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3314, allocations: 12 kB / 385 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/0.3317, allocations: 74.11 kB / 385.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.3319, allocations: 43.86 kB / 385.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.334, allocations: 2.819 MB / 388 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.3343, allocations: 35.53 kB / 388 MB, free: 13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.106e-05/0.3343, allocations: 15.8 kB / 388 MB, free: 12.98 MB / 282.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.0001015/0.3344, allocations: 113 kB / 388.1 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.3345, allocations: 27.67 kB / 388.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.147e-05/0.3345, allocations: 33.27 kB / 388.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3345, allocations: 0 / 388.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3345, allocations: 4 kB / 388.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3346, allocations: 0 / 388.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/0.3354, allocations: 0.6506 MB / 388.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3354, allocations: 0 / 388.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.3355, allocations: 28.17 kB / 388.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00019/0.3357, allocations: 81.02 kB / 388.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.3357, allocations: 3.938 kB / 388.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002345/0.3381, allocations: 2.833 MB / 391.8 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3381, allocations: 0 / 391.8 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.3386, allocations: 349.4 kB / 392.1 MB, free: 8.926 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.3388, allocations: 119.9 kB / 392.2 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.791e-05/0.3388, allocations: 3.938 kB / 392.2 MB, free: 8.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.3391, allocations: 43.91 kB / 392.3 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.3391, allocations: 19.78 kB / 392.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.3392, allocations: 8 kB / 392.3 MB, free: 8.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.3393, allocations: 187.8 kB / 392.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3394, allocations: 0 / 392.5 MB, free: 8.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003988/0.3398, allocations: 93.53 kB / 392.6 MB, free: 8.5 MB / 282.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.0001745/0.3399, allocations: 98.56 kB / 392.7 MB, free: 8.398 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005859/0.3405, allocations: 414.7 kB / 393.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3405, allocations: 0 / 393.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.3409, allocations: 325.7 kB / 393.4 MB, free: 7.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.3412, allocations: 57.22 kB / 393.5 MB, free: 7.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.3418, allocations: 322 kB / 393.8 MB, free: 7.383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3421, allocations: 0.7755 MB / 394.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.3423, allocations: 22.06 kB / 394.6 MB, free: 6.559 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.3423, allocations: 19.44 kB / 394.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3423, allocations: 0 / 394.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of Templates: time 0.006735/0.3491, allocations: 3.292 MB / 397.9 MB, free: 3.27 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)