Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Annex60.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized") [: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/Annex60 1.0.0/package.mo): time 0.2927/0.2927, allocations: 54.39 MB / 61.68 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001231/0.001231, allocations: 184.6 kB / 75.38 MB, free: 1.539 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.485/1.485, allocations: 194.2 MB / 283.2 MB, free: 3.477 MB / 218.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: 113.7 kB / 341.3 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.999e-06/1.001e-05, allocations: 4 kB / 405 MB, free: 27.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 57.65 MB / 462.6 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2746/0.3938, allocations: 84.02 MB / 0.5338 GB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.394, allocations: 74.64 kB / 0.5339 GB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.002302/0.3963, allocations: 0.6175 MB / 0.5345 GB, free: 12.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.3964, allocations: 3.938 kB / 0.5345 GB, free: 12.46 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003144/0.3967, allocations: 313.7 kB / 0.5348 GB, free: 12.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.3968, allocations: 15.97 kB / 0.5348 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.062e-05/0.3968, allocations: 6.156 kB / 0.5348 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.397, allocations: 167 kB / 0.535 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.397, allocations: 0 / 0.535 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.397, allocations: 0 / 0.535 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.991e-05/0.3971, allocations: 8 kB / 0.535 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.678e-05/0.3972, allocations: 33.02 kB / 0.535 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.3972, allocations: 7.984 kB / 0.535 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3973, allocations: 0 / 0.535 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3973, allocations: 3.906 kB / 0.535 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.3975, allocations: 126.2 kB / 0.5351 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.555e-05/0.3976, allocations: 33.7 kB / 0.5352 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.3976, allocations: 11.61 kB / 0.5352 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/0.398, allocations: 405.5 kB / 0.5356 GB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3981, allocations: 34.56 kB / 0.5356 GB, free: 11.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.3981, allocations: 0 / 0.5356 GB, free: 11.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001918/0.3983, allocations: 40.88 kB / 0.5356 GB, free: 11.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.3983, allocations: 51.41 kB / 0.5357 GB, free: 10.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.517e-05/0.3984, allocations: 85 kB / 0.5358 GB, free: 10.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3984, allocations: 25.7 kB / 0.5358 GB, free: 10.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.3984, allocations: 84.14 kB / 0.5359 GB, free: 10.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.3985, allocations: 18.55 kB / 0.5359 GB, free: 10.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.3985, allocations: 0 / 0.5359 GB, free: 10.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.3986, allocations: 310.8 kB / 0.5362 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.3986, allocations: 0 / 0.5362 GB, free: 10.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.15e-05/0.3987, allocations: 6.625 kB / 0.5362 GB, free: 10.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.3987, allocations: 7.938 kB / 0.5362 GB, free: 10.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3987, allocations: 0 / 0.5362 GB, free: 10.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.34e-05/0.3988, allocations: 44.56 kB / 0.5362 GB, free: 10.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3988, allocations: 10.78 kB / 0.5363 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3989, allocations: 0 / 0.5363 GB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.3989, allocations: 7.906 kB / 0.5363 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.3991, allocations: 15.92 kB / 0.5363 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005717/0.3997, allocations: 0.5815 MB / 0.5368 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.529e-05/0.3997, allocations: 0 / 0.5368 GB, free: 9.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.3997, allocations: 4.094 kB / 0.5369 GB, free: 9.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3998, allocations: 108.8 kB / 0.537 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.3999, allocations: 7.938 kB / 0.537 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.4, allocations: 44.72 kB / 0.537 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4, allocations: 0 / 0.537 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.4001, allocations: 4.859 kB / 0.537 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4001, allocations: 0 / 0.537 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.4002, allocations: 133.7 kB / 0.5371 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4002, allocations: 4 kB / 0.5371 GB, free: 9.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.302e-05/0.4003, allocations: 11.98 kB / 0.5372 GB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4003, allocations: 0 / 0.5372 GB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4003, allocations: 4 kB / 0.5372 GB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004867/0.4008, allocations: 0.5917 MB / 0.5377 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.4008, allocations: 0 / 0.5377 GB, free: 8.797 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001137/0.401, allocations: 68.81 kB / 0.5378 GB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.401, allocations: 81.02 kB / 0.5379 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.401, allocations: 0 / 0.5379 GB, free: 8.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.4011, allocations: 3.984 kB / 0.5379 GB, free: 8.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.4011, allocations: 4 kB / 0.5379 GB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.4011, allocations: 0 / 0.5379 GB, free: 8.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.42e-05/0.4011, allocations: 75.28 kB / 0.538 GB, free: 8.535 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.4014, allocations: 4 kB / 0.538 GB, free: 8.531 MB / 378.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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002497/0.4016, allocations: 111.2 kB / 0.5381 GB, free: 8.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.4018, allocations: 23.55 kB / 0.5381 GB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4019, allocations: 0 / 0.5381 GB, free: 8.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.597e-05/0.402, allocations: 19.98 kB / 0.5381 GB, free: 8.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.4021, allocations: 3.953 kB / 0.5381 GB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002246/0.4024, allocations: 54.56 kB / 0.5382 GB, free: 8.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.4026, allocations: 0.6954 MB / 0.5388 GB, free: 7.582 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.4027, allocations: 0 / 0.5388 GB, free: 7.582 MB / 378.7 MB Notification: Performance of Templates: time 0.002587/0.4052, allocations: 0.5335 MB / 0.5394 GB, free: 7.059 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)