Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="empty",numberOfIntervals=9332,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="empty",numberOfIntervals=9332,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003522/0.003522, allocations: 183.4 kB / 7.458 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.122/1.122, allocations: 194.2 MB / 202.1 MB, free: 8.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.001677/0.001677, allocations: 122.8 kB / 247.1 MB, free: 6.289 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1719/0.1719, allocations: 39.95 MB / 331.9 MB, free: 4.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.809e-06/4.849e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08165/0.08167, allocations: 54.87 MB / 447.6 MB, free: 21.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.4049, allocations: 83.94 MB / 0.5191 GB, free: 10.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4052, allocations: 70.58 kB / 0.5192 GB, free: 10 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02377/0.429, allocations: 8.524 MB / 0.5275 GB, free: 6.996 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.141e-05/0.4291, allocations: 9.781 kB / 0.5275 GB, free: 6.996 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001685/0.4308, allocations: 0.6712 MB / 0.5282 GB, free: 6.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4308, allocations: 9.656 kB / 0.5282 GB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.4311, allocations: 49.69 kB / 0.5282 GB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006986/0.4318, allocations: 314.3 kB / 0.5285 GB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.4318, allocations: 15.03 kB / 0.5285 GB, free: 6.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.4319, allocations: 35.12 kB / 0.5286 GB, free: 6.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006598/0.4326, allocations: 252.8 kB / 0.5288 GB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.4334, allocations: 362.3 kB / 0.5292 GB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.4335, allocations: 1.062 kB / 0.5292 GB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.692e-05/0.4335, allocations: 0 / 0.5292 GB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.4336, allocations: 11.81 kB / 0.5292 GB, free: 6.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.4365, allocations: 1.621 MB / 0.5308 GB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.4367, allocations: 138.7 kB / 0.5309 GB, free: 4.738 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.437, allocations: 113.2 kB / 0.531 GB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.615e-05/0.437, allocations: 7.984 kB / 0.531 GB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.437, allocations: 33.62 kB / 0.531 GB, free: 4.609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.844e-06/0.437, allocations: 0 / 0.531 GB, free: 4.609 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.001869/0.4389, allocations: 1.019 MB / 0.532 GB, free: 3.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.299e-05/0.439, allocations: 81.11 kB / 0.5321 GB, free: 3.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.4392, allocations: 219.6 kB / 0.5323 GB, free: 3.332 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.4392, allocations: 25.7 kB / 0.5323 GB, free: 3.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.4393, allocations: 233.2 kB / 0.5326 GB, free: 3.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.4394, allocations: 120.2 kB / 0.5327 GB, free: 2.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.4394, allocations: 0 / 0.5327 GB, free: 2.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.4395, allocations: 337.3 kB / 0.533 GB, free: 2.652 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.4397, allocations: 84.62 kB / 0.5331 GB, free: 2.602 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.4398, allocations: 178.8 kB / 0.5333 GB, free: 2.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.44, allocations: 106.6 kB / 0.5334 GB, free: 2.359 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.44, allocations: 0 / 0.5334 GB, free: 2.359 MB / 346.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004984/0.4405, allocations: 348.4 kB / 0.5337 GB, free: 2.086 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4406, allocations: 4 kB / 0.5337 GB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.4406, allocations: 7.984 kB / 0.5337 GB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001294/0.4407, allocations: 24.48 kB / 0.5337 GB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/0.4412, allocations: 123.4 kB / 0.5338 GB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007906/0.442, allocations: 1.283 MB / 0.5351 GB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.4423, allocations: 12 kB / 0.5351 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.4423, allocations: 15.19 kB / 0.5351 GB, free: 0.5664 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.4424, allocations: 112.8 kB / 0.5352 GB, free: 460 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.856e-05/0.4425, allocations: 35.77 kB / 0.5353 GB, free: 424 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.4426, allocations: 27.53 kB / 0.5353 GB, free: 412 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4426, allocations: 4 kB / 0.5353 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4426, allocations: 7.906 kB / 0.5353 GB, free: 400 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4426, allocations: 3.984 kB / 0.5353 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/0.4435, allocations: 0.6256 MB / 0.5359 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4435, allocations: 0 / 0.5359 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.444, allocations: 95.19 kB / 0.536 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.05e-05/0.4441, allocations: 28.28 kB / 0.536 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4441, allocations: 4.062 kB / 0.536 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000897/0.445, allocations: 1.26 MB / 0.5373 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.445, allocations: 7.938 kB / 0.5373 GB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006343/0.4457, allocations: 0.5649 MB / 0.5378 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.4458, allocations: 126.7 kB / 0.538 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.4459, allocations: 3.984 kB / 0.538 GB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.4462, allocations: 15.98 kB / 0.538 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.319e-05/0.4462, allocations: 19.34 kB / 0.538 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.4463, allocations: 11.75 kB / 0.538 GB, free: 13.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001444/0.4464, allocations: 169.7 kB / 0.5382 GB, free: 13.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004479/0.4469, allocations: 76 kB / 0.5382 GB, free: 13.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter1.i,eddyCurrent.Phi,converter.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001531/0.447, allocations: 95.19 kB / 0.5383 GB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.4476, allocations: 344.1 kB / 0.5387 GB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4476, allocations: 4.688 kB / 0.5387 GB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.4479, allocations: 216.5 kB / 0.5389 GB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4482, allocations: 19.31 kB / 0.5389 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.4495, allocations: 0.6434 MB / 0.5395 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005709/0.4501, allocations: 0.8559 MB / 0.5403 GB, free: 11.41 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4501, allocations: 0 / 0.5403 GB, free: 11.41 MB / 362.7 MB Notification: Performance of Templates: time 0.007177/0.4573, allocations: 3.063 MB / 0.5433 GB, free: 8.387 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1)