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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 193.5 kB / 16.13 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 51.91 kB / 278 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2735, allocations: 46.62 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.004012/0.2776, allocations: 3.017 MB / 327.7 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.2789, allocations: 0.7084 MB / 328.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.2791, allocations: 5.188 kB / 328.4 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.2794, allocations: 45.09 kB / 328.4 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.2795, allocations: 94.64 kB / 328.5 MB, free: 14.83 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.2798, allocations: 76.17 kB / 328.6 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003934/0.2802, allocations: 389.8 kB / 329 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.2804, allocations: 96.12 kB / 329.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.2806, allocations: 138.4 kB / 329.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001818/0.2808, allocations: 155.1 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.2809, allocations: 21.44 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.718e-05/0.2809, allocations: 19.66 kB / 329.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.619e-05/0.281, allocations: 60.22 kB / 329.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.2812, allocations: 164.7 kB / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003587/0.2816, allocations: 372.4 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2816, allocations: 8 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2816, allocations: 1.656 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.2816, allocations: 0 / 330 MB, free: 13.87 MB / 270.1 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.001033/0.2826, allocations: 0.6248 MB / 330.6 MB, free: 13.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2827, allocations: 9 kB / 330.6 MB, free: 13.32 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.707e-05/0.2828, allocations: 44.66 kB / 330.7 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.2831, allocations: 274.5 kB / 330.9 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2831, allocations: 19.03 kB / 331 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/0.2832, allocations: 26.62 kB / 331 MB, free: 13.01 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005362/0.2837, allocations: 264.1 kB / 331.2 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2837, allocations: 0 / 331.2 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.2838, allocations: 15.34 kB / 331.3 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2838, allocations: 6 kB / 331.3 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/0.2843, allocations: 215.3 kB / 331.5 MB, free: 12.74 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.2861, allocations: 0.9716 MB / 332.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/0.2868, allocations: 304 kB / 332.7 MB, free: 11.73 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/0.2871, allocations: 111.8 kB / 332.9 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2871, allocations: 6.281 kB / 332.9 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.2871, allocations: 36.69 kB / 332.9 MB, free: 11.63 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.233e-06/0.2871, allocations: 3.938 kB / 332.9 MB, free: 11.62 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001316/0.2885, allocations: 0.5612 MB / 333.5 MB, free: 11.1 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.2885, allocations: 55.41 kB / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002994/0.2888, allocations: 262.6 kB / 333.8 MB, free: 10.76 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2889, allocations: 25.7 kB / 333.8 MB, free: 10.73 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.289, allocations: 183.9 kB / 334 MB, free: 10.54 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.532e-05/0.2891, allocations: 74.98 kB / 334.1 MB, free: 10.47 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.2891, allocations: 45.86 kB / 334.1 MB, free: 10.42 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2893, allocations: 334.8 kB / 334.4 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.2895, allocations: 76.42 kB / 334.5 MB, free: 10.01 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.2897, allocations: 115.4 kB / 334.6 MB, free: 9.887 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.2901, allocations: 194.3 kB / 334.8 MB, free: 9.688 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2901, allocations: 0 / 334.8 MB, free: 9.688 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006472/0.2908, allocations: 322.8 kB / 335.1 MB, free: 9.359 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2908, allocations: 4 kB / 335.1 MB, free: 9.355 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.2908, allocations: 0 / 335.1 MB, free: 9.355 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.2911, allocations: 73.67 kB / 335.2 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.2913, allocations: 39.91 kB / 335.2 MB, free: 9.238 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.2937, allocations: 2.831 MB / 338.1 MB, free: 6.145 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.2939, allocations: 27.77 kB / 338.1 MB, free: 6.117 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.294, allocations: 11.94 kB / 338.1 MB, free: 6.105 MB / 270.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.2941, allocations: 137.9 kB / 338.2 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.2942, allocations: 23.72 kB / 338.3 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.2943, allocations: 34.17 kB / 338.3 MB, free: 5.906 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2943, allocations: 0 / 338.3 MB, free: 5.906 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.2943, allocations: 7.938 kB / 338.3 MB, free: 5.898 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2943, allocations: 0 / 338.3 MB, free: 5.898 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.2953, allocations: 0.6832 MB / 339 MB, free: 5.152 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2953, allocations: 192 / 339 MB, free: 5.152 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.2955, allocations: 31.97 kB / 339 MB, free: 5.121 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/0.2957, allocations: 81.55 kB / 339.1 MB, free: 5.035 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2957, allocations: 4 kB / 339.1 MB, free: 5.031 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.2978, allocations: 2.811 MB / 341.9 MB, free: 1.957 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.2978, allocations: 8.094 kB / 341.9 MB, free: 1.949 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006178/0.2985, allocations: 377.5 kB / 342.3 MB, free: 1.559 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.774e-05/0.2985, allocations: 108.8 kB / 342.4 MB, free: 1.434 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.2986, allocations: 7.938 kB / 342.4 MB, free: 1.426 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.2988, allocations: 31.97 kB / 342.4 MB, free: 1.395 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/0.2989, allocations: 27.89 kB / 342.5 MB, free: 1.367 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.2989, allocations: 4 kB / 342.5 MB, free: 1.363 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.2991, allocations: 190 kB / 342.6 MB, free: 1.176 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2991, allocations: 0 / 342.6 MB, free: 1.176 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004206/0.2996, allocations: 95.84 kB / 342.7 MB, free: 1.082 MB / 270.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.2997, allocations: 99.25 kB / 342.8 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007905/0.3005, allocations: 445.3 kB / 343.3 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.3005, allocations: 4 kB / 343.3 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.301, allocations: 345.1 kB / 343.6 MB, free: 148 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3015, allocations: 56.53 kB / 343.7 MB, free: 92 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.3024, allocations: 0.6127 MB / 344.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.3028, allocations: 0.7678 MB / 345.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000113/0.3029, allocations: 18.3 kB / 345.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.268e-05/0.303, allocations: 19.44 kB / 345.1 MB, free: 14.62 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.303, allocations: 0 / 345.1 MB, free: 14.62 MB / 286.1 MB Notification: Performance of Templates: time 0.007175/0.3102, allocations: 3.458 MB / 348.5 MB, free: 11.17 MB / 286.1 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)