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.000921/0.000921, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006024/0.006024, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.487/1.487, allocations: 205.4 MB / 222.4 MB, free: 5.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4739/0.4739, allocations: 55 MB / 325.7 MB, free: 0.5039 MB / 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.0005265/0.0005265, allocations: 12 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4256, allocations: 60.72 MB / 458 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001068/0.4267, allocations: 283.3 kB / 458.3 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007683/0.4275, allocations: 335 kB / 458.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.105e-05/0.4276, allocations: 1.344 kB / 458.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.4276, allocations: 0 / 458.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.71e-06/0.4276, allocations: 0 / 458.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.428, allocations: 68.17 kB / 458.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.596e-05/0.428, allocations: 2.938 kB / 458.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.4281, allocations: 3.141 kB / 458.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.616e-05/0.4281, allocations: 0 / 458.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.348e-05/0.4281, allocations: 3.797 kB / 458.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.4281, allocations: 1.312 kB / 458.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.4285, allocations: 272 kB / 458.9 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.4286, allocations: 0 / 458.9 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.4286, allocations: 28.64 kB / 459 MB, free: 38.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001612/0.4288, allocations: 82.77 kB / 459 MB, free: 38.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4288, allocations: 3.031 kB / 459 MB, free: 38.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4288, allocations: 0 / 459 MB, free: 38.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.4288, allocations: 4.828 kB / 459.1 MB, free: 38.59 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.0002604/0.4291, allocations: 335.4 kB / 459.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.4291, allocations: 9.406 kB / 459.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.949e-05/0.4292, allocations: 4.844 kB / 459.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.939e-05/0.4293, allocations: 160.4 kB / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4293, allocations: 384 / 459.6 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.4293, allocations: 4.875 kB / 459.6 MB, free: 38.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.897e-05/0.4294, allocations: 34.42 kB / 459.6 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.4294, allocations: 0 / 459.6 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.4295, allocations: 0 / 459.6 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4295, allocations: 0 / 459.6 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.4295, allocations: 8.375 kB / 459.6 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001085/0.4296, allocations: 146.3 kB / 459.7 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.406e-05/0.4297, allocations: 18.58 kB / 459.8 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.4297, allocations: 8.797 kB / 459.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004528/0.4301, allocations: 429.8 kB / 460.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.4302, allocations: 39.3 kB / 460.2 MB, free: 37.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.4302, allocations: 0.5 kB / 460.2 MB, free: 37.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.4303, allocations: 35.98 kB / 460.3 MB, free: 37.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.4304, allocations: 51.41 kB / 460.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.212e-05/0.4304, allocations: 93.73 kB / 460.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.4304, allocations: 27.08 kB / 460.4 MB, free: 37.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.506e-05/0.4305, allocations: 80.14 kB / 460.5 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.4305, allocations: 0 / 460.5 MB, free: 36.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.668e-05/0.4305, allocations: 10.41 kB / 460.5 MB, free: 36.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.32e-05/0.4306, allocations: 315.1 kB / 460.8 MB, free: 36.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.4306, allocations: 3.938 kB / 460.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.429e-06/0.4306, allocations: 0 / 460.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.217e-05/0.4306, allocations: 11.48 kB / 460.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4306, allocations: 0 / 460.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.261e-05/0.4307, allocations: 42.97 kB / 460.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4307, allocations: 11.5 kB / 460.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4307, allocations: 0 / 460.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.4308, allocations: 0.8125 kB / 460.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.916e-05/0.4308, allocations: 0.6875 kB / 460.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4308, allocations: 4.953 kB / 460.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.175e-05/0.4308, allocations: 1.75 kB / 460.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.4308, allocations: 0.75 kB / 460.9 MB, free: 36.58 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 5.56e-05/0.4309, allocations: 116.1 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.4309, allocations: 6.906 kB / 461 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.231e-05/0.431, allocations: 37.23 kB / 461.1 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.431, allocations: 3.672 kB / 461.1 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.431, allocations: 6.156 kB / 461.1 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.431, allocations: 2.531 kB / 461.1 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.734e-05/0.4311, allocations: 141.7 kB / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.4311, allocations: 0 / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.4311, allocations: 3.562 kB / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4311, allocations: 5.25 kB / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.4312, allocations: 0 / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.4312, allocations: 2.969 kB / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4312, allocations: 4.094 kB / 461.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.618e-05/0.4312, allocations: 62.81 kB / 461.3 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.4313, allocations: 81.05 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.4313, allocations: 3.375 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-06/0.4313, allocations: 0 / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.4313, allocations: 5.094 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.4313, allocations: 1.188 kB / 461.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.54e-05/0.4313, allocations: 75.28 kB / 461.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4313, allocations: 0 / 461.5 MB, free: 35.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001931/0.4315, allocations: 10.44 kB / 461.5 MB, free: 35.99 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.000146/0.4317, allocations: 111.2 kB / 461.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.29e-05/0.4318, allocations: 5.625 kB / 461.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4318, allocations: 0 / 461.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.155e-06/0.4318, allocations: 10.62 kB / 461.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001432/0.4319, allocations: 0 / 461.6 MB, free: 35.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001738/0.4321, allocations: 87.23 kB / 461.7 MB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.4322, allocations: 0.6727 MB / 462.3 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.675e-05/0.4323, allocations: 8.719 kB / 462.4 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.136e-05/0.4323, allocations: 7.438 kB / 462.4 MB, free: 35.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4323, allocations: 0.9375 kB / 462.4 MB, free: 35.09 MB / 382.1 MB Notification: Performance of Templates: time 0.00242/0.4347, allocations: 438.8 kB / 462.8 MB, free: 35.05 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: