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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 88.53 kB / 16.31 MB, free: 6.453 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.001382/0.001382, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.574/1.574, allocations: 205.4 MB / 223.4 MB, free: 5.773 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.0004659/0.0004661, allocations: 8 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2799, allocations: 47.59 MB / 327.7 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowVariableResistor): time 0.002659/0.2826, allocations: 2.518 MB / 330.2 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2837, allocations: 0.6934 MB / 330.9 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.2838, allocations: 12.16 kB / 331 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.284, allocations: 37.28 kB / 331 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.2842, allocations: 94.19 kB / 331.1 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.2844, allocations: 60.17 kB / 331.1 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004536/0.2849, allocations: 377.1 kB / 331.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.2851, allocations: 81.22 kB / 331.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.2853, allocations: 125.8 kB / 331.7 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.2855, allocations: 139.1 kB / 331.8 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.426e-05/0.2856, allocations: 16.34 kB / 331.9 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.123e-05/0.2856, allocations: 16.56 kB / 331.9 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.2857, allocations: 60.12 kB / 331.9 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.38e-05/0.2858, allocations: 86.3 kB / 332 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003077/0.2861, allocations: 270 kB / 332.3 MB, free: 13.95 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.2861, allocations: 7.922 kB / 332.3 MB, free: 13.95 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2861, allocations: 7.938 kB / 332.3 MB, free: 13.94 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2862, allocations: 1.594 kB / 332.3 MB, free: 13.94 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.0009309/0.2871, allocations: 0.5932 MB / 332.9 MB, free: 13.42 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2871, allocations: 8.5 kB / 332.9 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.2872, allocations: 39.47 kB / 332.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000333/0.2876, allocations: 272.7 kB / 333.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.2876, allocations: 28.33 kB / 333.2 MB, free: 13.11 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.2877, allocations: 24.81 kB / 333.3 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.2882, allocations: 260.3 kB / 333.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2883, allocations: 0 / 333.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.2883, allocations: 15.31 kB / 333.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.2883, allocations: 6.375 kB / 333.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004882/0.2888, allocations: 229.8 kB / 333.8 MB, free: 12.84 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.2904, allocations: 0.9883 MB / 334.7 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.2909, allocations: 309.5 kB / 335 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.2912, allocations: 110.3 kB / 335.2 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.2912, allocations: 2.281 kB / 335.2 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.2913, allocations: 40.81 kB / 335.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.2913, allocations: 1 kB / 335.2 MB, free: 11.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.001274/0.2925, allocations: 0.5796 MB / 335.8 MB, free: 11.22 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.2926, allocations: 67.33 kB / 335.8 MB, free: 11.14 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.2929, allocations: 258.5 kB / 336.1 MB, free: 10.88 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2929, allocations: 29.7 kB / 336.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.293, allocations: 179.9 kB / 336.3 MB, free: 10.66 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.2931, allocations: 67 kB / 336.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.2931, allocations: 4 kB / 336.4 MB, free: 10.59 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2932, allocations: 338.8 kB / 336.7 MB, free: 10.25 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.2934, allocations: 84.42 kB / 336.8 MB, free: 10.17 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.2936, allocations: 115.4 kB / 336.9 MB, free: 10.05 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.2938, allocations: 99.88 kB / 337 MB, free: 9.949 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2939, allocations: 0 / 337 MB, free: 9.949 MB / 270.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005989/0.2945, allocations: 334.7 kB / 337.3 MB, free: 9.609 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2945, allocations: 7.984 kB / 337.3 MB, free: 9.602 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.2945, allocations: 4 kB / 337.3 MB, free: 9.598 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/0.2948, allocations: 77.61 kB / 337.4 MB, free: 9.516 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.2949, allocations: 43.97 kB / 337.5 MB, free: 9.473 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.297, allocations: 2.827 MB / 340.3 MB, free: 6.383 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2972, allocations: 31.77 kB / 340.3 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2973, allocations: 4 kB / 340.3 MB, free: 6.348 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 (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.0001382/0.2974, allocations: 145.8 kB / 340.5 MB, free: 6.195 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.2975, allocations: 31.66 kB / 340.5 MB, free: 6.164 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.2975, allocations: 26.19 kB / 340.5 MB, free: 6.137 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2975, allocations: 7.938 kB / 340.5 MB, free: 6.129 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2975, allocations: 3.984 kB / 340.5 MB, free: 6.125 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2975, allocations: 256 / 340.5 MB, free: 6.125 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009773/0.2985, allocations: 0.6949 MB / 341.2 MB, free: 5.367 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2985, allocations: 11.98 kB / 341.2 MB, free: 5.355 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.2987, allocations: 27.92 kB / 341.3 MB, free: 5.328 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/0.2989, allocations: 73.67 kB / 341.3 MB, free: 5.25 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2989, allocations: 0 / 341.3 MB, free: 5.25 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.3009, allocations: 2.831 MB / 344.2 MB, free: 2.156 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3009, allocations: 3.953 kB / 344.2 MB, free: 2.152 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.3015, allocations: 393.7 kB / 344.6 MB, free: 1.746 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.3015, allocations: 108.8 kB / 344.7 MB, free: 1.621 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.887e-05/0.3016, allocations: 0 / 344.7 MB, free: 1.621 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.3018, allocations: 39.97 kB / 344.7 MB, free: 1.582 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.3019, allocations: 23.97 kB / 344.7 MB, free: 1.559 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3019, allocations: 4 kB / 344.7 MB, free: 1.555 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.3021, allocations: 185.9 kB / 344.9 MB, free: 1.375 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3021, allocations: 0 / 344.9 MB, free: 1.375 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003858/0.3025, allocations: 99.75 kB / 345 MB, free: 1.277 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 (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.0001208/0.3026, allocations: 115.2 kB / 345.1 MB, free: 1.152 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000702/0.3033, allocations: 465.2 kB / 345.6 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3033, allocations: 0 / 345.6 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.3037, allocations: 357.2 kB / 345.9 MB, free: 304 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.3042, allocations: 48.67 kB / 346 MB, free: 256 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.305, allocations: 0.5946 MB / 346.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3053, allocations: 0.7678 MB / 347.3 MB, free: 14.83 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.3054, allocations: 22.28 kB / 347.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.3055, allocations: 19.44 kB / 347.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3055, allocations: 0 / 347.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of Templates: time 0.006465/0.312, allocations: 3.3 MB / 350.7 MB, free: 11.49 MB / 286.1 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)