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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) 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(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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001681/0.001681, allocations: 194.6 kB / 16.14 MB, free: 6.699 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.542/1.542, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4001/0.4001, allocations: 54.93 MB / 324.3 MB, free: 224 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 64.28 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1791, allocations: 59.59 MB / 454.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.3229/0.5021, allocations: 1.46 MB / 455.7 MB, free: 39.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007769/0.5029, allocations: 393.4 kB / 456.1 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.912e-05/0.503, allocations: 1 kB / 456.1 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.612e-05/0.503, allocations: 1.688 kB / 456.1 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/0.5031, allocations: 6.375 kB / 456.1 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.5035, allocations: 75.95 kB / 456.2 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.988e-05/0.5036, allocations: 25.58 kB / 456.2 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.5037, allocations: 3.812 kB / 456.2 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.282e-05/0.5037, allocations: 9.891 kB / 456.2 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.5038, allocations: 15.78 kB / 456.3 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.5038, allocations: 0 / 456.3 MB, free: 39.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.5042, allocations: 276.8 kB / 456.5 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.5042, allocations: 6.297 kB / 456.5 MB, free: 39.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.5042, allocations: 12.06 kB / 456.5 MB, free: 39.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.5044, allocations: 103.7 kB / 456.6 MB, free: 39.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.5044, allocations: 0 / 456.6 MB, free: 39.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5044, allocations: 0.5938 kB / 456.6 MB, free: 39.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.5045, allocations: 3.656 kB / 456.6 MB, free: 39.47 MB / 382.1 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.0005067/0.505, allocations: 360.2 kB / 457 MB, free: 39.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.505, allocations: 9.406 kB / 457 MB, free: 39.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.5051, allocations: 4.156 kB / 457 MB, free: 39.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.5052, allocations: 173.6 kB / 457.2 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.5052, allocations: 384 / 457.2 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.5052, allocations: 6.562 kB / 457.2 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.5054, allocations: 53.58 kB / 457.2 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5054, allocations: 0 / 457.2 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.5055, allocations: 0 / 457.2 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.5055, allocations: 0 / 457.2 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.5056, allocations: 33.97 kB / 457.3 MB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/0.5059, allocations: 261.6 kB / 457.5 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.5061, allocations: 45.53 kB / 457.6 MB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.6e-05/0.5062, allocations: 32.84 kB / 457.6 MB, free: 38.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/0.5068, allocations: 457 kB / 458.1 MB, free: 38.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.5069, allocations: 36.44 kB / 458.1 MB, free: 38.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.5069, allocations: 0 / 458.1 MB, free: 38.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003695/0.5072, allocations: 81.92 kB / 458.2 MB, free: 38.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.5073, allocations: 57.19 kB / 458.2 MB, free: 37.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.5073, allocations: 103 kB / 458.3 MB, free: 37.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/0.5074, allocations: 26.52 kB / 458.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.5074, allocations: 86.17 kB / 458.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.5074, allocations: 8.938 kB / 458.4 MB, free: 37.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.5075, allocations: 12.56 kB / 458.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.546e-05/0.5075, allocations: 315.4 kB / 458.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.78e-05/0.5076, allocations: 18.91 kB / 458.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.601e-05/0.5077, allocations: 18.11 kB / 458.8 MB, free: 37.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.5078, allocations: 45.39 kB / 458.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5078, allocations: 5.156 kB / 458.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001776/0.508, allocations: 67.09 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.508, allocations: 5.594 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5081, allocations: 1.562 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5081, allocations: 2.938 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.5082, allocations: 9.219 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.5082, allocations: 0 / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.554e-05/0.5082, allocations: 7.812 kB / 458.9 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.5082, allocations: 1.406 kB / 458.9 MB, free: 37.38 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.392e-05/0.5083, allocations: 115.8 kB / 459.1 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.5083, allocations: 7.719 kB / 459.1 MB, free: 37.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.5086, allocations: 78.31 kB / 459.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.5086, allocations: 0 / 459.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5086, allocations: 0 / 459.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5086, allocations: 0 / 459.1 MB, free: 37.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.5087, allocations: 163.7 kB / 459.3 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5087, allocations: 0 / 459.3 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.5088, allocations: 9.078 kB / 459.3 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5088, allocations: 8.562 kB / 459.3 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.5088, allocations: 0 / 459.3 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5088, allocations: 0.9062 kB / 459.3 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5088, allocations: 0 / 459.3 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.509, allocations: 172.3 kB / 459.5 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.5091, allocations: 78.33 kB / 459.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.5091, allocations: 0 / 459.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.5092, allocations: 14.02 kB / 459.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.5092, allocations: 0 / 459.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.5092, allocations: 0 / 459.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.755e-05/0.5093, allocations: 87.12 kB / 459.7 MB, free: 36.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5093, allocations: 0 / 459.7 MB, free: 36.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.5095, allocations: 13.84 kB / 459.7 MB, free: 36.73 MB / 382.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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001518/0.5097, allocations: 110.8 kB / 459.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000195/0.5099, allocations: 43.52 kB / 459.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5099, allocations: 0 / 459.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.51, allocations: 17.8 kB / 459.8 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.5103, allocations: 10.28 kB / 459.9 MB, free: 36.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.5106, allocations: 123.9 kB / 460 MB, free: 36.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.5107, allocations: 0.6791 MB / 460.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.419e-05/0.5107, allocations: 7.969 kB / 460.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.906e-05/0.5107, allocations: 10.69 kB / 460.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.5108, allocations: 0 / 460.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of Templates: time 0.002748/0.5135, allocations: 0.6377 MB / 461.3 MB, free: 35.79 MB / 382.1 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)