Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001097/0.001097, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4296/0.4296, allocations: 55.02 MB / 325.4 MB, free: 0.75 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.0006699/0.0006701, allocations: 19.94 kB / 396.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4268, allocations: 60.71 MB / 457.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0007977/0.4277, allocations: 283.3 kB / 457.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000627/0.4283, allocations: 307.8 kB / 458 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.4284, allocations: 2.969 kB / 458 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.4284, allocations: 4.578 kB / 458 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.279e-05/0.4284, allocations: 0 / 458 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.4288, allocations: 73.5 kB / 458 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.4289, allocations: 13.31 kB / 458 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.398e-05/0.4289, allocations: 2.656 kB / 458 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.429, allocations: 6.094 kB / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.945e-05/0.429, allocations: 6.219 kB / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.429, allocations: 0 / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003933/0.4294, allocations: 262.9 kB / 458.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.4295, allocations: 0.75 kB / 458.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.4295, allocations: 32.05 kB / 458.4 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.4296, allocations: 60.66 kB / 458.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4297, allocations: 0 / 458.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4297, allocations: 0 / 458.4 MB, free: 38.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.4297, allocations: 0 / 458.4 MB, free: 38.27 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003705/0.43, allocations: 341.1 kB / 458.7 MB, free: 37.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4301, allocations: 9.031 kB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.4302, allocations: 4.625 kB / 458.8 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4303, allocations: 167.2 kB / 458.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.4303, allocations: 3 kB / 458.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.4303, allocations: 3.25 kB / 458.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.4305, allocations: 32.88 kB / 459 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.4305, allocations: 0 / 459 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4305, allocations: 3.25 kB / 459 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.4305, allocations: 1 kB / 459 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.436e-05/0.4305, allocations: 3.219 kB / 459 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001464/0.4307, allocations: 158.7 kB / 459.1 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.307e-05/0.4307, allocations: 25.38 kB / 459.1 MB, free: 37.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.4308, allocations: 12.67 kB / 459.2 MB, free: 37.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.4314, allocations: 462.5 kB / 459.6 MB, free: 36.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.4314, allocations: 31.19 kB / 459.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.4314, allocations: 4.25 kB / 459.6 MB, free: 36.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005296/0.432, allocations: 253.7 kB / 459.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.432, allocations: 52.06 kB / 459.9 MB, free: 36.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/0.4321, allocations: 97.78 kB / 460 MB, free: 36.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4321, allocations: 26.2 kB / 460.1 MB, free: 36.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.4321, allocations: 83.05 kB / 460.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.4322, allocations: 14.16 kB / 460.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.4322, allocations: 2.594 kB / 460.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.4322, allocations: 313.7 kB / 460.5 MB, free: 36.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.4323, allocations: 9.562 kB / 460.5 MB, free: 36.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.063e-05/0.4323, allocations: 23.28 kB / 460.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.4323, allocations: 7.062 kB / 460.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.4323, allocations: 0 / 460.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.044e-05/0.4324, allocations: 53.75 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4324, allocations: 7.625 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4324, allocations: 0 / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4325, allocations: 3.922 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.663e-05/0.4325, allocations: 5.688 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.4325, allocations: 3.453 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.4326, allocations: 3.953 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.4326, allocations: 3.406 kB / 460.6 MB, free: 36.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.006e-05/0.4326, allocations: 114.5 kB / 460.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.4326, allocations: 7.844 kB / 460.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.4328, allocations: 53.81 kB / 460.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4328, allocations: 3.469 kB / 460.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4328, allocations: 2.812 kB / 460.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.4328, allocations: 0.9062 kB / 460.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.75e-05/0.4329, allocations: 158.7 kB / 460.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4329, allocations: 2.188 kB / 460.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.4329, allocations: 3 kB / 460.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4329, allocations: 1.375 kB / 460.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.4329, allocations: 8.188 kB / 460.9 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.433, allocations: 0 / 460.9 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.433, allocations: 0 / 460.9 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.4331, allocations: 82.86 kB / 461 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.4331, allocations: 77.11 kB / 461.1 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.4331, allocations: 0 / 461.1 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.335e-05/0.4332, allocations: 3.562 kB / 461.1 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.4332, allocations: 7.172 kB / 461.1 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4332, allocations: 9.312 kB / 461.1 MB, free: 35.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.849e-05/0.4332, allocations: 78.31 kB / 461.2 MB, free: 35.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4332, allocations: 0 / 461.2 MB, free: 35.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002016/0.4334, allocations: 22.59 kB / 461.2 MB, free: 35.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001645/0.4336, allocations: 125.4 kB / 461.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.4337, allocations: 19.56 kB / 461.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4337, allocations: 0 / 461.3 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.369e-05/0.4337, allocations: 12.81 kB / 461.4 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.4339, allocations: 11.44 kB / 461.4 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/0.4341, allocations: 112.4 kB / 461.5 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001121/0.4342, allocations: 0.6764 MB / 462.2 MB, free: 34.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.246e-05/0.4343, allocations: 7.625 kB / 462.2 MB, free: 34.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.636e-05/0.4343, allocations: 10.31 kB / 462.2 MB, free: 34.54 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4343, allocations: 0 / 462.2 MB, free: 34.54 MB / 382.1 MB Notification: Performance of Templates: time 0.003171/0.4375, allocations: 0.8398 MB / 463 MB, free: 34.5 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: