Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001087/0.001088, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.571/1.571, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3878/0.3878, allocations: 54.93 MB / 324.3 MB, free: 172 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.001353/0.001353, allocations: 71.91 kB / 394.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1243, allocations: 59.58 MB / 454.2 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002015/0.1263, allocations: 0.607 MB / 454.8 MB, free: 4 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2101/0.3364, allocations: 343.6 kB / 455.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.311e-05/0.3365, allocations: 0 / 455.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.3366, allocations: 0 / 455.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.121e-06/0.3366, allocations: 1.781 kB / 455.2 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.3369, allocations: 70.45 kB / 455.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.763e-05/0.337, allocations: 0 / 455.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.398e-05/0.337, allocations: 3.281 kB / 455.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.398e-05/0.337, allocations: 1.859 kB / 455.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.165e-05/0.3371, allocations: 1.625 kB / 455.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3371, allocations: 2.578 kB / 455.3 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003392/0.3374, allocations: 273.9 kB / 455.5 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.3375, allocations: 0.7812 kB / 455.5 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.3375, allocations: 2.172 kB / 455.5 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.3376, allocations: 88.05 kB / 455.6 MB, free: 38.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3377, allocations: 0 / 455.6 MB, free: 38.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3377, allocations: 2.812 kB / 455.6 MB, free: 38.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.3377, allocations: 0 / 455.6 MB, free: 38.92 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002359/0.3379, allocations: 330.9 kB / 455.9 MB, free: 38.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3379, allocations: 10.09 kB / 456 MB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.457e-05/0.338, allocations: 7 kB / 456 MB, free: 38.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.289e-05/0.3381, allocations: 162.5 kB / 456.1 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3381, allocations: 1.688 kB / 456.1 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.3381, allocations: 1.828 kB / 456.1 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.3382, allocations: 35.42 kB / 456.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3382, allocations: 1.188 kB / 456.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3382, allocations: 2.25 kB / 456.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3383, allocations: 0 / 456.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.3383, allocations: 10.05 kB / 456.2 MB, free: 38.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.256e-05/0.3384, allocations: 147 kB / 456.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.247e-05/0.3384, allocations: 19.67 kB / 456.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.367e-05/0.3384, allocations: 4.859 kB / 456.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004125/0.3389, allocations: 429.1 kB / 456.8 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.3389, allocations: 36.22 kB / 456.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3389, allocations: 4.484 kB / 456.8 MB, free: 37.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.339, allocations: 37.8 kB / 456.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.324e-05/0.3391, allocations: 54.64 kB / 456.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.631e-05/0.3391, allocations: 90.67 kB / 457 MB, free: 37.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.72e-06/0.3391, allocations: 25.7 kB / 457 MB, free: 37.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-06/0.3391, allocations: 83.95 kB / 457.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.3392, allocations: 2.188 kB / 457.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.3392, allocations: 11.28 kB / 457.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.11e-05/0.3392, allocations: 318.8 kB / 457.4 MB, free: 36.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.3393, allocations: 0 / 457.4 MB, free: 36.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.3393, allocations: 5.969 kB / 457.4 MB, free: 36.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.372e-05/0.3393, allocations: 9.047 kB / 457.4 MB, free: 36.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3393, allocations: 0.6875 kB / 457.4 MB, free: 36.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.658e-05/0.3394, allocations: 40.3 kB / 457.5 MB, free: 36.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3394, allocations: 9.781 kB / 457.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.3394, allocations: 1.094 kB / 457.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3394, allocations: 1.031 kB / 457.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.101e-05/0.3395, allocations: 3.969 kB / 457.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3395, allocations: 0 / 457.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-06/0.3395, allocations: 0 / 457.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3395, allocations: 0 / 457.5 MB, free: 36.92 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 (1): * Single equations (assignments): 1 * 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 4.115e-05/0.3395, allocations: 115.2 kB / 457.6 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.3396, allocations: 5.469 kB / 457.6 MB, free: 36.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.996e-05/0.3396, allocations: 37.67 kB / 457.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3397, allocations: 0.5312 kB / 457.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.3397, allocations: 0 / 457.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3397, allocations: 6.891 kB / 457.6 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.056e-05/0.3397, allocations: 146.2 kB / 457.8 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3397, allocations: 0 / 457.8 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-05/0.3398, allocations: 2.656 kB / 457.8 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3398, allocations: 3.938 kB / 457.8 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.3398, allocations: 0.875 kB / 457.8 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3398, allocations: 0 / 457.8 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3398, allocations: 6.516 kB / 457.8 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.658e-05/0.3399, allocations: 57.33 kB / 457.9 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.757e-05/0.3399, allocations: 84.17 kB / 457.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3399, allocations: 10.88 kB / 457.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.3399, allocations: 0.75 kB / 457.9 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.3399, allocations: 6.297 kB / 458 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.3399, allocations: 0 / 458 MB, free: 36.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.424e-05/0.34, allocations: 78.75 kB / 458 MB, free: 36.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.34, allocations: 0 / 458 MB, free: 36.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.3402, allocations: 9 kB / 458 MB, free: 36.34 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 (1): * Single equations (assignments): 1 * 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.0001419/0.3403, allocations: 111.7 kB / 458.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.941e-05/0.3404, allocations: 5.219 kB / 458.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3404, allocations: 2.812 kB / 458.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.154e-06/0.3404, allocations: 4.406 kB / 458.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.3405, allocations: 0 / 458.2 MB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001716/0.3407, allocations: 77.77 kB / 458.2 MB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.3408, allocations: 0.674 MB / 458.9 MB, free: 35.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.744e-05/0.3409, allocations: 9.844 kB / 458.9 MB, free: 35.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.3409, allocations: 8.344 kB / 458.9 MB, free: 35.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3409, allocations: 0 / 458.9 MB, free: 35.46 MB / 382.1 MB Notification: Performance of Templates: time 0.002267/0.3432, allocations: 449.2 kB / 459.4 MB, free: 35.45 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)