Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") [: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.2789/0.2789, 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.00127/0.00127, allocations: 188.8 kB / 75.37 MB, free: 1.496 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.263/1.263, allocations: 194.2 MB / 283.2 MB, free: 3.512 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.001586/0.001586, allocations: 101.4 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.151e-06/6.181e-06, allocations: 0 / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 57.65 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2914/0.4008, allocations: 85.18 MB / 0.5349 GB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.401, allocations: 71.64 kB / 0.535 GB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01275/0.4138, allocations: 3.951 MB / 0.5389 GB, free: 8.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.4139, allocations: 0 / 0.5389 GB, free: 8.562 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.0004579/0.4143, allocations: 370.4 kB / 0.5392 GB, free: 8.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.4144, allocations: 12.72 kB / 0.5392 GB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.108e-05/0.4145, allocations: 0 / 0.5392 GB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4146, allocations: 175 kB / 0.5394 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.4147, allocations: 0 / 0.5394 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.4147, allocations: 0 / 0.5394 GB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.768e-05/0.4148, allocations: 18.44 kB / 0.5394 GB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.476e-05/0.4148, allocations: 33.64 kB / 0.5394 GB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.4149, allocations: 0 / 0.5394 GB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4149, allocations: 3.938 kB / 0.5394 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4149, allocations: 4 kB / 0.5394 GB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.4153, allocations: 250.9 kB / 0.5397 GB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.498e-05/0.4154, allocations: 28.14 kB / 0.5397 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.4154, allocations: 12.86 kB / 0.5397 GB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.4161, allocations: 464.5 kB / 0.5402 GB, free: 7.016 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4161, allocations: 34.56 kB / 0.5402 GB, free: 6.973 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.4161, allocations: 0 / 0.5402 GB, free: 6.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001741/0.4163, allocations: 47.91 kB / 0.5402 GB, free: 6.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.4163, allocations: 51.41 kB / 0.5403 GB, free: 6.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.4164, allocations: 98.06 kB / 0.5404 GB, free: 6.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4164, allocations: 25.7 kB / 0.5404 GB, free: 6.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.4165, allocations: 80.14 kB / 0.5405 GB, free: 6.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.4165, allocations: 7.938 kB / 0.5405 GB, free: 6.641 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.4165, allocations: 0 / 0.5405 GB, free: 6.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.4166, allocations: 320.6 kB / 0.5408 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.4166, allocations: 1.938 kB / 0.5408 GB, free: 6.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.4167, allocations: 6.062 kB / 0.5408 GB, free: 6.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.107e-05/0.4167, allocations: 5.75 kB / 0.5408 GB, free: 6.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4167, allocations: 0 / 0.5408 GB, free: 6.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.937e-05/0.4168, allocations: 45.3 kB / 0.5409 GB, free: 6.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.4168, allocations: 8.094 kB / 0.5409 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.4168, allocations: 0 / 0.5409 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.4168, allocations: 0 / 0.5409 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.646e-05/0.4169, allocations: 19.92 kB / 0.5409 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.417, allocations: 0 / 0.5409 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.417, allocations: 11.98 kB / 0.5409 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.417, allocations: 5.062 kB / 0.5409 GB, free: 6.223 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.452e-05/0.4171, allocations: 101 kB / 0.541 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.4172, allocations: 3.906 kB / 0.541 GB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.4173, allocations: 62.55 kB / 0.5411 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4173, allocations: 0 / 0.5411 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4173, allocations: 256 / 0.5411 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4174, allocations: 0 / 0.5411 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.4175, allocations: 146 kB / 0.5412 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4175, allocations: 8.031 kB / 0.5412 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.869e-05/0.4176, allocations: 11.98 kB / 0.5412 GB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4176, allocations: 0 / 0.5412 GB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4176, allocations: 0 / 0.5412 GB, free: 5.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.4176, allocations: 3.938 kB / 0.5412 GB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4176, allocations: 3.938 kB / 0.5412 GB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001446/0.4178, allocations: 141.5 kB / 0.5414 GB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.4178, allocations: 92.97 kB / 0.5415 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.4178, allocations: 0 / 0.5415 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.4179, allocations: 4 kB / 0.5415 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.418, allocations: 8.609 kB / 0.5415 GB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.418, allocations: 3.906 kB / 0.5415 GB, free: 5.578 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.835e-05/0.418, allocations: 85.94 kB / 0.5416 GB, free: 5.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.4183, allocations: 16 kB / 0.5416 GB, free: 5.48 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001676/0.4184, allocations: 111.7 kB / 0.5417 GB, free: 5.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.557e-05/0.4185, allocations: 16.19 kB / 0.5417 GB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4185, allocations: 0 / 0.5417 GB, free: 5.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.4186, allocations: 6.312 kB / 0.5417 GB, free: 5.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.4187, allocations: 8.688 kB / 0.5417 GB, free: 5.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002015/0.4189, allocations: 63.66 kB / 0.5418 GB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.4192, allocations: 0.6927 MB / 0.5424 GB, free: 4.535 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4192, allocations: 0 / 0.5424 GB, free: 4.535 MB / 378.7 MB Notification: Performance of Templates: time 0.002462/0.4217, allocations: 0.6624 MB / 0.5431 GB, free: 3.883 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)