Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation") translateModel(ModelicaTest.Blocks.Exponentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation") [: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 trunk/package.mo): time 0.001185/0.001185, allocations: 191.7 kB / 8.537 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.29/1.29, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 92.8 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2766/0.2766, allocations: 45.14 MB / 383.3 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.22e-05/1.235e-05, allocations: 0 / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1505, allocations: 63.24 MB / 0.5038 GB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3867/0.5372, allocations: 86.39 MB / 0.5881 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.5374, allocations: 61.84 kB / 0.5882 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.003238/0.5407, allocations: 1.072 MB / 0.5892 GB, free: 15.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.5407, allocations: 0 / 0.5892 GB, free: 15.62 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000426/0.5412, allocations: 385.4 kB / 0.5896 GB, free: 15.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5412, allocations: 8.031 kB / 0.5896 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.5413, allocations: 11.91 kB / 0.5896 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.5415, allocations: 206.6 kB / 0.5898 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.5416, allocations: 4 kB / 0.5898 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.5416, allocations: 4 kB / 0.5898 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000124/0.5417, allocations: 50.36 kB / 0.5899 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.5419, allocations: 90.2 kB / 0.59 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.5419, allocations: 2.734 kB / 0.59 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.5419, allocations: 0 / 0.59 GB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.5419, allocations: 7.984 kB / 0.59 GB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.5426, allocations: 432.2 kB / 0.5904 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.5427, allocations: 56.45 kB / 0.5904 GB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.5427, allocations: 24.27 kB / 0.5905 GB, free: 14.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.5428, allocations: 3.938 kB / 0.5905 GB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.5428, allocations: 30.56 kB / 0.5905 GB, free: 14.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.774e-06/0.5428, allocations: 0 / 0.5905 GB, free: 14.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002041/0.543, allocations: 75.27 kB / 0.5906 GB, free: 14.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.5431, allocations: 51.41 kB / 0.5906 GB, free: 14.13 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/0.5432, allocations: 113.9 kB / 0.5907 GB, free: 14.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.5432, allocations: 29.7 kB / 0.5907 GB, free: 13.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.759e-05/0.5433, allocations: 110.8 kB / 0.5908 GB, free: 13.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.5433, allocations: 27.05 kB / 0.5909 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.5433, allocations: 0.8438 kB / 0.5909 GB, free: 13.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5434, allocations: 314.8 kB / 0.5912 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.5435, allocations: 15.06 kB / 0.5912 GB, free: 13.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.5435, allocations: 36.89 kB / 0.5912 GB, free: 13.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.679e-05/0.5435, allocations: 15.31 kB / 0.5912 GB, free: 13.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5435, allocations: 0 / 0.5912 GB, free: 13.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001222/0.5437, allocations: 79.31 kB / 0.5913 GB, free: 13.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5437, allocations: 4 kB / 0.5913 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.5437, allocations: 0 / 0.5913 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5437, allocations: 4.219 kB / 0.5913 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.5439, allocations: 26.98 kB / 0.5913 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.5439, allocations: 11.97 kB / 0.5914 GB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.544, allocations: 11.89 kB / 0.5914 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.544, allocations: 4 kB / 0.5914 GB, free: 13.36 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.5441, allocations: 101 kB / 0.5915 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.5441, allocations: 7.906 kB / 0.5915 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.5443, allocations: 75.05 kB / 0.5916 GB, free: 13.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5443, allocations: 11.91 kB / 0.5916 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5443, allocations: 0 / 0.5916 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.5443, allocations: 7.922 kB / 0.5916 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.5445, allocations: 171.2 kB / 0.5917 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5445, allocations: 0 / 0.5917 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.5446, allocations: 19.98 kB / 0.5918 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.5446, allocations: 0 / 0.5918 GB, free: 12.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.5447, allocations: 7.906 kB / 0.5918 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5447, allocations: 4 kB / 0.5918 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.5447, allocations: 0 / 0.5918 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001971/0.5449, allocations: 167.8 kB / 0.5919 GB, free: 12.76 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.5449, allocations: 81.02 kB / 0.592 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.5449, allocations: 7.984 kB / 0.592 GB, free: 12.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.5451, allocations: 11.31 kB / 0.592 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.5451, allocations: 7.984 kB / 0.592 GB, free: 12.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.5451, allocations: 0 / 0.592 GB, free: 12.64 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.618e-05/0.5452, allocations: 98.09 kB / 0.5921 GB, free: 12.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002177/0.5454, allocations: 11.91 kB / 0.5921 GB, free: 12.54 MB / 394.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 (8): * Single equations (assignments): 8 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.974e-05/0.5455, allocations: 95.23 kB / 0.5922 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001107/0.5456, allocations: 37.5 kB / 0.5923 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5456, allocations: 0 / 0.5923 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.5457, allocations: 31 kB / 0.5923 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.5458, allocations: 0 / 0.5923 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.5462, allocations: 117.8 kB / 0.5924 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.5465, allocations: 0.7183 MB / 0.5931 GB, free: 11.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5465, allocations: 0 / 0.5931 GB, free: 11.51 MB / 394.7 MB Notification: Performance of Templates: time 0.003016/0.5495, allocations: 0.7565 MB / 0.5938 GB, free: 10.77 MB / 394.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Exponentiation.pipe 2>&1)